Tweaking webpack config
This commit is contained in:
parent
d49a59331b
commit
612fd91f89
@ -5,7 +5,8 @@ module.exports = {
|
|||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
entry: {
|
entry: {
|
||||||
'js/main.js': './src/js/main.js',
|
'js/main.js': './src/js/main.js',
|
||||||
'css/main.css.js': './src/sass/main.scss'
|
'__discard__/css/main.css.js': './src/sass/main.scss',
|
||||||
|
'__discard__/css/svg.css.js': './src/sass/svg.scss'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: __dirname + '/build',
|
path: __dirname + '/build',
|
||||||
@ -31,7 +32,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.peg$/,
|
test: /\.peg$/,
|
||||||
loader: __dirname + '/lib/canopy-loader'
|
loader: require.resolve('./lib/canopy-loader')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user