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

1
.gitignore vendored
View File

@@ -2,7 +2,6 @@
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
.cache-loader .cache-loader
dist dist
bower_components
node_modules node_modules
npm-debug.log npm-debug.log
yarn-error.log yarn-error.log

View File

@@ -51,7 +51,7 @@ let webpackConfig = {
}, },
{ {
test: /\.js$/, test: /\.js$/,
exclude: [/(node_modules|bower_components)(?![/|\\](bootstrap|foundation-sites))/], exclude: [/node_modules(?![/|\\](bootstrap|foundation-sites))/],
use: [ use: [
{ loader: 'cache' }, { loader: 'cache' },
{ loader: 'buble', options: { objectAssign: 'Object.assign' } }, { loader: 'buble', options: { objectAssign: 'Object.assign' } },
@@ -104,7 +104,7 @@ let webpackConfig = {
}, },
{ {
test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/, test: /\.(ttf|eot|woff2?|png|jpe?g|gif|svg|ico)$/,
include: /node_modules|bower_components/, include: /node_modules/,
loader: 'url', loader: 'url',
options: { options: {
limit: 4096, limit: 4096,
@@ -118,7 +118,6 @@ let webpackConfig = {
modules: [ modules: [
config.paths.assets, config.paths.assets,
'node_modules', 'node_modules',
'bower_components',
], ],
enforceExtension: false, enforceExtension: false,
}, },