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.
26 lines
540 B
26 lines
540 B
import _ from 'lodash'; |
|
|
|
export default (config, options) => { |
|
if (options.ie8) { |
|
config = _.extend({}, config, { |
|
entry: { |
|
bundle: './ie8/src.js' |
|
}, |
|
output: { |
|
filename: '[name].js', |
|
path: './ie8-built/assets', |
|
publicPath: '/assets/' |
|
}, |
|
externals: undefined, |
|
module: { |
|
loaders: config.module.loaders.concat([ |
|
{ test: /\.jpe?g$|\.gif$|\.png$/, loader: 'file?name=[name].[ext]' } |
|
]) |
|
} |
|
}); |
|
|
|
return config; |
|
} |
|
|
|
return config; |
|
}
|
|
|