Restructure webpack and add favico

This commit is contained in:
Lukas Martinelli
2016-12-31 10:34:32 +01:00
parent 24a90b3c57
commit b50855a4a9
9 changed files with 9 additions and 41 deletions
-9
View File
@@ -6,12 +6,6 @@ var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var WebpackCleanupPlugin = require('webpack-cleanup-plugin');
// local scss modules
loaders.push({
test: /[\/\\]src[\/\\].*\.scss/,
loader: ExtractTextPlugin.extract('style', 'css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]', 'sass')
});
module.exports = {
entry: {
app: './src/index.jsx',
@@ -45,9 +39,6 @@ module.exports = {
chunkFilename: '[chunkhash].js'
},
resolve: {
alias: {
'webworkify': 'webworkify-webpack',
},
extensions: ['', '.js', '.jsx']
},
module: {