mirror of
https://github.com/ansible/awx.git
synced 2026-05-05 00:25:29 -02:30
use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341)
This commit is contained in:
@@ -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']
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user