mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 23:34:42 -03:30
19 lines
408 B
JavaScript
19 lines
408 B
JavaScript
const path = require('path');
|
|
|
|
const webpack = require('webpack');
|
|
const merge = require('webpack-merge');
|
|
const base = require(path.resolve(__dirname, '../..', 'build/webpack.base'));
|
|
|
|
const STATIC_URL = '/static/';
|
|
|
|
const test = {
|
|
devtool: 'inline-source-map',
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
$basePath: STATIC_URL
|
|
})
|
|
]
|
|
};
|
|
|
|
module.exports = merge(base, test);
|