-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
"Not allowed to load local resource" when adding a script from node modules #65
Comments
Hello @Jeneko, Thanks for reporting the issue, I'll fix it. |
@webdiscus, thank you very much! |
- fix: correct inline JS when used split chunks - refactor: optimize code for script processing - test: add manually test for missing node modules after rebuild
- fix: correct inline JS when used split chunks - refactor: optimize code for script processing - test: add manually test for missing node modules after rebuild
- fix: correct inline JS when used split chunks - refactor: optimize code for script processing - test: add manually test for missing node modules after rebuild
the issuer is fixed in v4.9.7.
You can see the working example watch-dependencies-bootstrap. |
@webdiscus |
Good day! I'm trying to add Bootstrap to my project when using pug-plugin. As recipes said I do:
Then I start webpack-dev-server. And everything goes good until I make a change in any .scss or .js file of the project and then save the file. After page autoreload I get this error in browser console:
Strangely enough, if I make a change in .pug file the error doesn't appear. And if I put bootstrap.bundle.js out of /node_modules somewhere into /src and load it from there the error also does not appear.
As a test I add Bootstrap in the standard pug-plugin example "simple-multipage". Here is the repo
The text was updated successfully, but these errors were encountered: