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
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
In various files I import SCSS or CSS files; there is a different loader config for each of them in the Webpack config: for CSS I use loaders: ['style', 'css?sourceMap'] and for SCSS: loaders: ['style', 'css?sourceMap', 'postcss', 'sass?sourceMap']. I want to use extract-text-webpack-plugin for each of them but have the result concatenated into one file.
This doesn't seem to be possible: If I wrap the loaders with ExtractTextPlugin.extract, I'm only left with a file generated from CSS (it seems the SCSS one gets overwritten). If I create separate instances for CSS & SCSS files and use extract on them, I have to provide separate paths for them or the second one will overwrite the first one.
There should be a way to append to the file generated by previous plugin instances.
The text was updated successfully, but these errors were encountered:
In various files I import SCSS or CSS files; there is a different loader config for each of them in the Webpack config: for CSS I use
loaders: ['style', 'css?sourceMap']
and for SCSS:loaders: ['style', 'css?sourceMap', 'postcss', 'sass?sourceMap']
. I want to useextract-text-webpack-plugin
for each of them but have the result concatenated into one file.This doesn't seem to be possible: If I wrap the loaders with
ExtractTextPlugin.extract
, I'm only left with a file generated from CSS (it seems the SCSS one gets overwritten). If I create separate instances for CSS & SCSS files and useextract
on them, I have to provide separate paths for them or the second one will overwrite the first one.There should be a way to append to the file generated by previous plugin instances.
The text was updated successfully, but these errors were encountered: