Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Merge output from various instances #227

Closed
mgol opened this issue Aug 4, 2016 · 2 comments
Closed

Merge output from various instances #227

mgol opened this issue Aug 4, 2016 · 2 comments

Comments

@mgol
Copy link

mgol commented Aug 4, 2016

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.

@mgol
Copy link
Author

mgol commented Aug 4, 2016

Hmm, this may be a dupe of #179.

@bebraw
Copy link
Contributor

bebraw commented Jan 21, 2017

Yeah, let's close as a duplicate.

@bebraw bebraw closed this as completed Jan 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants