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

Can somebody explain to me what's going here #162

Closed
t0lkman opened this issue Mar 14, 2016 · 6 comments
Closed

Can somebody explain to me what's going here #162

t0lkman opened this issue Mar 14, 2016 · 6 comments

Comments

@t0lkman
Copy link

t0lkman commented Mar 14, 2016

why this syntax is working:

loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader')

and all vendor prefixes are being added

and this one is not:

loader: ExtractTextPlugin.extract('style-loader', 'css-loader', 'postcss-loader')`

from any documentations available online, I couldn't find why NOT all loaders could be separated by comma

@mtnt
Copy link

mtnt commented Mar 17, 2016

ExtractTextPlugin.extract([notExtractLoader], loader, [options]), did you actually read the documentation? =)

@ishan28mkip
Copy link

The first parameter is to be used with all the chunks not handled by ExtractTextPlugin, the second parameter specifies the actual loaders.

@IanVS
Copy link

IanVS commented Oct 11, 2016

FWIW, nowhere in the readme does the term notExtractLoader appear.

@Jessidhia
Copy link
Contributor

@IanVS it's now (and has been for the past few months?) called the fallbackLoader.

@IanVS
Copy link

IanVS commented Oct 12, 2016

Except for in the example: https://github.com/webpack/extract-text-webpack-plugin/blob/8232a3e5c5c719c1a56228fed0c3d12a0c90eded/example/webpack.config.js#L17

Sorry, the fact that this issue was still open, and the example using notExtractLoader was confusing me (I'm trying to learn both webpack and this plugin, and it's not going well so far, haha).

@bebraw
Copy link
Contributor

bebraw commented Jan 28, 2017

Hi,

The syntax has been updated so it should be a little clearer now.

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

6 participants