|
@ -3,7 +3,6 @@ const BundleTracker = require('webpack-bundle-tracker'); |
|
|
const ExtractTextPlugin = require('extract-text-webpack-plugin'); |
|
|
const ExtractTextPlugin = require('extract-text-webpack-plugin'); |
|
|
require('babel-polyfill'); |
|
|
require('babel-polyfill'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const config = require('./webpack.base.config.js'); |
|
|
const config = require('./webpack.base.config.js'); |
|
|
|
|
|
|
|
|
// Use webpack dev server
|
|
|
// Use webpack dev server
|
|
@ -41,7 +40,7 @@ config.module.loaders.push( |
|
|
{ |
|
|
{ |
|
|
test: /(\.scss|\.css)$/, |
|
|
test: /(\.scss|\.css)$/, |
|
|
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'), |
|
|
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'), |
|
|
} |
|
|
}, |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
module.exports = config; |
|
|
module.exports = config; |
|
|