Remove some Bower traces
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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