You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing bootstrap from a styl file that's processed by Webpack also applies the other loaders like CSS Module, and post CSS etc, which you don't really want to be applied to Bootstrap.
loaders.push({test: /\.styl$/include: sourceDir,// << even though I have this so as not to apply // on files from 'node_modules', but it only works in webpack // context, i.e. .js files, not in .styl files (apparently)loader: extract.extract({loader: `css-loader?importLoaders=3!postcss-loader!namespace-css-module-loader!stylus-loader`,fallbackLoader: 'style-loader'}),});
The text was updated successfully, but these errors were encountered:
Importing bootstrap from a styl file that's processed by Webpack also applies the other loaders like CSS Module, and post CSS etc, which you don't really want to be applied to Bootstrap.
For example:
outputs:
My webpack config is
The text was updated successfully, but these errors were encountered: