Skip to content

Issues with Webpack 2 #1

New issue

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

Closed
jmknoll opened this issue Mar 7, 2017 · 1 comment
Closed

Issues with Webpack 2 #1

jmknoll opened this issue Mar 7, 2017 · 1 comment

Comments

@jmknoll
Copy link

jmknoll commented Mar 7, 2017

There are two errors in using this config with webpack 2

  1. Breaking change to ExtractTextPlugin

Error: Breaking change: extract now only takes a single argument. Either an options object or the loader(s).
Example: if your old code looked like this:
ExtractTextPlugin.extract('style-loader', 'css-loader')

You would change it to:
ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader' })

  1. Webpack config appears to be inconsistent with usage of post css and throws error: configuration has an unknown property 'postcss'.

See more info here: webpack-contrib/postcss-loader#99

@akikoo akikoo closed this as completed in c9e47af Oct 23, 2017
@akikoo
Copy link
Owner

akikoo commented Oct 23, 2017

Thanks @jmknoll - I see I neglected this issue for too long. Anyway, it should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants