We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
options.import|options.url
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
Feature
html-loader should support filtering URL paths
html-loader
{Regex}
Ignores URLs matching the exclude patttern
webpack.config.js
{ loader: `html-loader` options: { url: /dirname/, import: /dirname/ } }
{Function}
Ignores URLs based on a custom filter {Function} returning a {Boolean} value
{Boolean}
{ loader: `html-loader` options: { url (url) { return url.includes('dirname') : true : false }, import (url) { return url.includes('dirname') : true : false } } }
The text was updated successfully, but these errors were encountered:
url
options.url
<import>
options.import
michael-ciniawsky
No branches or pull requests
Feature
html-loader
should support filtering URL paths1.
{Regex}
Ignores URLs matching the exclude patttern
webpack.config.js
2.
{Function}
Ignores URLs based on a custom filter
{Function}
returning a{Boolean}
valuewebpack.config.js
The text was updated successfully, but these errors were encountered: