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

Doesn't work #10

Closed
daryn-k opened this issue Jun 26, 2017 · 2 comments
Closed

Doesn't work #10

daryn-k opened this issue Jun 26, 2017 · 2 comments

Comments

@daryn-k
Copy link

daryn-k commented Jun 26, 2017

It doesn't work for me. No any effects.

webpack 2 config:

module: {
    rules: [
      {
        test: /\.css$/,
        use: ['css-hot-loader'].concat(ExtractTextPlugin.extract({
          fallback: 'style-loader',
          use: 'css-loader'
        })),
      },
    ],
    loaders: [
      {
        test: /\.css$/,
        loader: ExtractTextPlugin.extract('style-loader', 'css-loader')
      },
      ....

css required by js, same names for css and js

@shepherdwind
Copy link
Owner

shepherdwind commented Jun 26, 2017

I have an mini demo example. Can you modify it and reproduce your problem again? So I can find out where is wrong.

@daryn-k
Copy link
Author

daryn-k commented Jun 26, 2017

Thanks. Now it works!

@daryn-k daryn-k closed this as completed Jun 26, 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