mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Update webpack config to require webpack.test.js
This commit is contained in:
parent
851f01ddd2
commit
8d9ef4445a
@ -1,4 +1,5 @@
|
||||
let path = require('path');
|
||||
const webpackConfig = require('../../../build/webpack.test.js');
|
||||
|
||||
module.exports = config => {
|
||||
config.set({
|
||||
@ -30,22 +31,7 @@ module.exports = config => {
|
||||
return '/static/partials' + filepath;
|
||||
}
|
||||
},
|
||||
webpack: {
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel',
|
||||
exclude: /node_modules/
|
||||
},
|
||||
{
|
||||
test: /\.json$/,
|
||||
loader: 'json',
|
||||
exclude: /node_modules/
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
webpack: webpackConfig,
|
||||
webpackMiddleware: {
|
||||
noInfo: 'errors-only'
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user