Closed folmert closed 7 years ago
Strange, but the error is gone when I updated bootstrap-loader to newest version:
npm install --save-dev bootstrap-loader@2.0.0-beta.16
I don't see this project as a loader in your package.json
What about your webpack config?
Hello, got same issue.
I think that using document
in node context should (normally) fail.
When installing via npm i resolve-url-loader
, I've got this error (this could be related to my own project as I already got this message earlier):
UNMET PEER DEPENDENCY jsdom@*
Not sure this is the fix, but installing jsdom fix this issue and gave me what I want ! Shouldn't jsdom (or any other module providing DOM usage in node) be included in your project dependencies ?
Anyway, thx for this loader, it's save me from url path headaches !
This is completely unrelated.
The original project posted didn't use resolve-url-loader.
The file mentioned is in a package called resolve-url. Different package.
Never omit the loader suffix when specifying webpack loaders. This may be the problem. I should update the usage docs if they imply that.
Apologize, you're right ! Thanks for pointing this out ;)
Indeed, updating docs makes sense, I think
No problem @emri99.
Webpack is such a steep curve. I hope you get your project happy soon. It is super cool to have build and fingerprinting and Webpack 'all the things'.
When I run
webpack
it returns:My
package.json
: