You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
308 B
19 lines
308 B
10 years ago
|
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;
|
||
|
}
|