mirror of
https://github.com/twisterarmy/twister-react.git
synced 2025-02-05 03:24:29 +00:00
19 lines
308 B
JavaScript
19 lines
308 B
JavaScript
|
import _ from 'lodash';
|
||
|
|
||
|
export default (config, options) => {
|
||
|
if (options.test) {
|
||
|
config = _.extend({}, config, {
|
||
|
devtool: 'inline-source-map',
|
||
|
entry: undefined,
|
||
|
output: {
|
||
|
pathinfo: true
|
||
|
},
|
||
|
externals: undefined
|
||
|
});
|
||
|
|
||
|
return config;
|
||
|
}
|
||
|
|
||
|
return config;
|
||
|
}
|