at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import config from '../config'
|
||||
|
||||
import { entry, output, resolve } from './options/_common'
|
||||
import { plugins } from './options/_plugins'
|
||||
import { preLoaders, loaders, eslint, postcss, sassLoader } from './options/_loaders'
|
||||
|
||||
const webpackConfig = {
|
||||
name: 'client',
|
||||
target: 'web',
|
||||
devtool: config.compiler_devtool,
|
||||
resolve,
|
||||
entry,
|
||||
output,
|
||||
plugins,
|
||||
module: {
|
||||
preLoaders,
|
||||
loaders
|
||||
},
|
||||
eslint,
|
||||
sassLoader,
|
||||
postcss
|
||||
}
|
||||
|
||||
export default webpackConfig
|
||||
Reference in New Issue
Block a user