Remove some Bower traces

This commit is contained in:
Andrew Luca
2017-12-11 13:32:32 +02:00
parent 2cae6148d5
commit 985fb5e830
2 changed files with 2 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ let webpackConfig = {
},
{
test: /\.js$/,
exclude: [/(node_modules|bower_components)(?![/|\\](bootstrap|foundation-sites))/],
exclude: [/node_modules(?![/|\\](bootstrap|foundation-sites))/],
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,
},