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
|
# 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
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ let webpackConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
exclude: [/(node_modules|bower_components)(?)/],
|
exclude: [/node_modules(?)/],
|
||||||
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,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user