mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03:30
17 lines
348 B
JavaScript
17 lines
348 B
JavaScript
const webpack = require('webpack');
|
|
const merge = require('webpack-merge');
|
|
const base = require('../../build/webpack.base');
|
|
|
|
const STATIC_URL = '/static/';
|
|
|
|
const test = {
|
|
devtool: 'cheap-source-map',
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
$basePath: STATIC_URL
|
|
})
|
|
]
|
|
};
|
|
|
|
module.exports = merge(base, test);
|