We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
composes
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've looked through the issue #131, but it didn't work.
I'm using CssModules with css-loader, postcss-loader, stylus-loader, it throws an error:
css-loader
postcss-loader
stylus-loader
Uncaught (in promise) TypeError: Cannot read property 'modal' of undefined
I've tried to change the importLoaders to be "2", but this error still occurs.
importLoaders
My total loader config string is:
style-loader!css-loader?-minimize&modules&camelCase&importLoaders=2&localIdentName=[name][local]_[hash:base64:5]&sourceMap!postcss-loader?sourceMap!stylus-loader?sourceMap
I looked through the compiled style code:
exports.locals = { "prompt": "prompt-modal__prompt___ySAyV " + __webpack_require__(699).locals["modal"] + "", "prompt": "prompt-modal__prompt___ySAyV " + __webpack_require__(699).locals["modal"] + "", "btn-prompt": "prompt-modal__btn-prompt___2k-dR", "btnPrompt": "prompt-modal__btn-prompt___2k-dR", "prompt-text": "prompt-modal__prompt-text___gQ1v5", "promptText": "prompt-modal__prompt-text___gQ1v5" };
webpack_require(699) is an array as following:
The text was updated successfully, but these errors were encountered:
I'm also getting this error but with sass-loader and using webpack 1.
Sorry, something went wrong.
I'm using css-loader in a Vue project, it seems to be an issue of vue-loader.
Vue
vue-loader
vuejs/vue-loader#501
I fix this problem by importing .styl file in script by myself, so that it won't be imported through vue-loader.
.styl
No branches or pull requests
I've looked through the issue #131, but it didn't work.
I'm using CssModules with
css-loader
,postcss-loader
,stylus-loader
, it throws an error:I've tried to change the
importLoaders
to be "2", but this error still occurs.My total loader config string is:
I looked through the compiled style code:
webpack_require(699) is an array as following:

The text was updated successfully, but these errors were encountered: