webpack / webpack.js.org

Repository for webpack documentation and more!
https://webpack.js.org
Creative Commons Attribution 4.0 International
2.21k stars 3.31k forks source link

Document webpack change: feat: added `url` and `import` options for CSS #7449

Open webpack-bot opened 2 weeks ago

webpack-bot commented 2 weeks ago

A pull request by @alexander-akait was merged and maintainers requested a documentation change.

See pull request: https://github.com/webpack/webpack/pull/18923


What kind of change does this PR introduce?

feature

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?

url and import options

url - Enable/disable url()/image-set()/src()/image() functions handling. import - Enable/disable @import at-rules handling.

Filter as in css-loader is not supported, we have an ignore plugin for this.

Here https://webpack.js.org/configuration/module/#moduleparser and https://webpack.js.org/configuration/module/#moduleparsercssnamedexports