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
I used glob to refer the dll file, and got an error:
Error: Cannot find module '../static/js/**/*.dll.js' Does require.resolve() api realy support glob ?
require.resolve()
MyProject ├───build │ └───webpack.prod.conf.js ├───static │ └───js │ └───library_xxx.dll.js └───package.json
new AddAssetHtmlPlugin({ filepath: require.resolve(`../static/js/**/*.dll.js`), }),
The text was updated successfully, but these errors were encountered:
Might be better to do path.resolve(__dirname, '../static/js/**/*.dll.js'). If that works, wanna send a PR updating the docs?
path.resolve(__dirname, '../static/js/**/*.dll.js')
Sorry, something went wrong.
try this:
new AddAssetHtmlPlugin({ filepath: `../static/js/**/*.dll.js`, }),
No branches or pull requests
I used glob to refer the dll file, and got an error:
The text was updated successfully, but these errors were encountered: