We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
acorn-import-attributes
A pull request by @alexander-akait was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#18251
What kind of change does this PR introduce?
xtuc/acorn-import-attributes#31
Did you add tests for your changes?
Existing
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
Added with ruleset rule, like assert, i.e.:
with
assert
/** @type {import("../../../../").Configuration} */ module.exports = { module: { rules: [ { // will handle `pkg-1.json` assert: { type: "json" }, loader: require.resolve("./loader-assert.js") }, { // will handle `pkg-2.json` with: { type: "json" }, loader: require.resolve("./loader-with.js") } ] } }; ```js import one from "./pkg-1.json" assert { type: "json" }; import two from "./pkg-2.json" with { type: "json" };
The text was updated successfully, but these errors were encountered:
Rule.assert
Rule.with
snitin315
Successfully merging a pull request may close this issue.
A pull request by @alexander-akait was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#18251
What kind of change does this PR introduce?
xtuc/acorn-import-attributes#31
Did you add tests for your changes?
Existing
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
Added
with
ruleset rule, likeassert
, i.e.:The text was updated successfully, but these errors were encountered: