UNPKG

@mhy/config

Version:

> This documentation is not complete. It's in progress and it's a BETA version. Use the tool at your own risk.

14 lines (8 loc) 282 B
import { load } from '../' import writeWebpack from '../_utils/webpack' process.env.WEBPACK_DEV_SERVER = process.argv.find(v => v.includes('webpack-dev-server') ) const webpackConfig = load('webpack', {}) writeWebpack(__dirname, webpackConfig) export default webpackConfig