mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341)
This commit is contained in:
@@ -74,7 +74,6 @@ module.exports = function(config) {
|
|||||||
test: /\.angular.js$/,
|
test: /\.angular.js$/,
|
||||||
loader: 'expose?angular'
|
loader: 'expose?angular'
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
@@ -85,11 +84,12 @@ module.exports = function(config) {
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: 'babel-istanbul',
|
loader: 'babel-loader',
|
||||||
include: [path.resolve() + '/client/src/'],
|
include: [path.resolve() + '/client/src/'],
|
||||||
exclude: '/(node_modules)/',
|
exclude: '/(node_modules)/',
|
||||||
query: {
|
query: {
|
||||||
presets: ['es2015']
|
presets: ['es2015'],
|
||||||
|
plugins: ['istanbul']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -58,11 +58,12 @@ module.exports = function(config) {
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: 'babel-istanbul',
|
loader: 'babel-loader',
|
||||||
include: [path.resolve() + '/client/src/'],
|
include: [path.resolve() + '/client/src/'],
|
||||||
exclude: '/(node_modules)/',
|
exclude: '/(node_modules)/',
|
||||||
query: {
|
query: {
|
||||||
presets: ['es2015']
|
presets: ['es2015'],
|
||||||
|
plugins: ['istanbul']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
4371
awx/ui/npm-shrinkwrap.json
generated
4371
awx/ui/npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@@ -29,8 +29,8 @@
|
|||||||
"angular-mocks": "^1.5.8",
|
"angular-mocks": "^1.5.8",
|
||||||
"babel-core": "^6.11.4",
|
"babel-core": "^6.11.4",
|
||||||
"babel-istanbul": "^0.11.0",
|
"babel-istanbul": "^0.11.0",
|
||||||
"babel-istanbul-loader": "^0.1.0",
|
|
||||||
"babel-loader": "^6.2.4",
|
"babel-loader": "^6.2.4",
|
||||||
|
"babel-plugin-istanbul": "^2.0.0",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
"babel-preset-es2015": "^6.9.0",
|
||||||
"browser-sync": "^2.14.0",
|
"browser-sync": "^2.14.0",
|
||||||
"expose-loader": "^0.7.1",
|
"expose-loader": "^0.7.1",
|
||||||
|
|||||||
11232
npm-shrinkwrap.json
generated
11232
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user