You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parse - Function that executes for a module source string and should return json-compatible data. Type ((input: string) => any), for For example we can use toml parser
A pull request by @hai-x was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#19058
What kind of change does this PR introduce?
perf only for
development
modeFixes webpack/webpack#18458
Did you add tests for your changes?
Yes
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
Add two options to https://webpack.js.org/configuration/module/#moduleparser
for
json
parse
- Function that executes for a module source string and should return json-compatible data. Type((input: string) => any)
, for For example we can use toml parserexportsDepth
- The depth of json dependency flagged asexportInfo
. In dev mode - 1, in prod - Infinity, Typenumber
The text was updated successfully, but these errors were encountered: