Remove some Bower traces
This commit is contained in:
@@ -51,7 +51,7 @@ let webpackConfig = {
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: [/(node_modules|bower_components)(?)/],
|
||||
exclude: [/node_modules(?)/],
|
||||
use: [
|
||||
{ loader: 'cache' },
|
||||
{ loader: 'buble', options: { objectAssign: 'Object.assign' } },
|
||||
@@ -104,7 +104,7 @@ let webpackConfig = {
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
|
||||
include: /node_modules|bower_components/,
|
||||
include: /node_modules/,
|
||||
loader: 'url',
|
||||
options: {
|
||||
limit: 4096,
|
||||
@@ -118,7 +118,6 @@ let webpackConfig = {
|
||||
modules: [
|
||||
config.paths.assets,
|
||||
'node_modules',
|
||||
'bower_components',
|
||||
],
|
||||
enforceExtension: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user