Skip to content

Commit f422e89

Browse files
committed
update build setup to ignore correct files
1 parent 1f262a0 commit f422e89

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/karma.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ module.exports = function (config) {
1212
loaders: [
1313
{
1414
test: /\.js$/,
15-
exclude: /test|node_modules|vue\/src/,
15+
exclude: /test|node_modules|vue\/dist/,
1616
loader: 'babel?optional[]=runtime&loose=all'
1717
}
1818
],
1919
postLoaders: [
2020
{
2121
test: /\.js$/,
22-
exclude: /test|node_modules|vue\/src|lib\//,
22+
exclude: /test|node_modules|vue\/dist|lib\//,
2323
loader: 'istanbul-instrumenter'
2424
}
2525
]

build/webpack.dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
loaders: [
1111
{
1212
test: /.js/,
13-
exclude: /node_modules/,
13+
exclude: /node_modules|vue\/dist/,
1414
loader: 'babel?optional[]=runtime&loose=all'
1515
}
1616
]

test/unit/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
loaders: [
99
{
1010
test: /\.js$/,
11-
exclude: /test|node_modules|vue\/src/,
11+
exclude: /test|node_modules|vue\/dist/,
1212
loader: 'babel?optional[]=runtime&loose=all'
1313
}
1414
]

0 commit comments

Comments
 (0)