diff --git a/package.json b/package.json index 7f8f640e..c7d3f26b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "extract-text-webpack-plugin": "^0.8.1", "node-libs-browser": "^0.5.2", "postcss-loader": "^0.4.4", - "postcss-modules-local-by-default": "0.0.7", "style-loader": "^0.12.3", "webpack": "^1.9.10" }, diff --git a/webpack.config.js b/webpack.config.js index 1c688062..760a9c1c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,7 +9,7 @@ module.exports = { test: /\.css$/, loader: ExtractTextPlugin.extract( 'style-loader', - 'css-loader?localIdentName=[hash:base64:5]!postcss-loader' + 'css-loader?module&localIdentName=[hash:base64:5]!postcss-loader' ) }, { @@ -23,5 +23,5 @@ module.exports = { plugins: [ new ExtractTextPlugin('react-web-sdk.css') ], - postcss: [ autoprefixer, localcss ] + postcss: [ autoprefixer ] };