From 985fb5e830aa1171c7e1c89bcc4e6a649a38899d Mon Sep 17 00:00:00 2001 From: Andrew Luca Date: Mon, 11 Dec 2017 13:32:32 +0200 Subject: [PATCH] Remove some Bower traces --- .gitignore | 1 - resources/assets/build/webpack.config.js | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 45d23ca..fbe6c1b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files .cache-loader dist -bower_components node_modules npm-debug.log yarn-error.log diff --git a/resources/assets/build/webpack.config.js b/resources/assets/build/webpack.config.js index d37eb60..d6450bb 100644 --- a/resources/assets/build/webpack.config.js +++ b/resources/assets/build/webpack.config.js @@ -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, },