2017-04-22 09:40:35 +02:00
|
|
|
import { webConfig, nodeConfig, lessConfig } from './webpack.config.base.js'
|
2017-04-14 11:43:53 +02:00
|
|
|
|
2017-04-22 11:12:12 +02:00
|
|
|
const config = webConfig()
|
2017-04-14 11:43:53 +02:00
|
|
|
|
2017-04-22 11:12:12 +02:00
|
|
|
const slimConfig = webConfig()
|
|
|
|
slimConfig.externals = ['fs', 'd3']
|
|
|
|
slimConfig.output.filename = '[name].slim.js'
|
2017-04-16 15:38:48 +02:00
|
|
|
|
2017-04-22 11:12:12 +02:00
|
|
|
const apiConfig = nodeConfig()
|
2017-04-16 15:38:48 +02:00
|
|
|
|
2017-04-22 11:12:12 +02:00
|
|
|
const cssConfig = lessConfig()
|
2017-04-22 09:40:35 +02:00
|
|
|
|
2017-04-22 11:12:12 +02:00
|
|
|
export default [config, slimConfig, apiConfig, cssConfig]
|