mirror of
https://github.com/twisterarmy/twister-react.git
synced 2025-01-26 22:54:43 +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;
|
|
}
|