mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -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$/,
|
||||
loader: 'expose?angular'
|
||||
},
|
||||
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
@@ -85,11 +84,12 @@ module.exports = function(config) {
|
||||
}
|
||||
}, {
|
||||
test: /\.js$/,
|
||||
loader: 'babel-istanbul',
|
||||
loader: 'babel-loader',
|
||||
include: [path.resolve() + '/client/src/'],
|
||||
exclude: '/(node_modules)/',
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
presets: ['es2015'],
|
||||
plugins: ['istanbul']
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -58,11 +58,12 @@ module.exports = function(config) {
|
||||
}
|
||||
}, {
|
||||
test: /\.js$/,
|
||||
loader: 'babel-istanbul',
|
||||
loader: 'babel-loader',
|
||||
include: [path.resolve() + '/client/src/'],
|
||||
exclude: '/(node_modules)/',
|
||||
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",
|
||||
"babel-core": "^6.11.4",
|
||||
"babel-istanbul": "^0.11.0",
|
||||
"babel-istanbul-loader": "^0.1.0",
|
||||
"babel-loader": "^6.2.4",
|
||||
"babel-plugin-istanbul": "^2.0.0",
|
||||
"babel-preset-es2015": "^6.9.0",
|
||||
"browser-sync": "^2.14.0",
|
||||
"expose-loader": "^0.7.1",
|
||||
|
||||
Reference in New Issue
Block a user