UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

18 lines (16 loc) 407 B
const commonPaths = require('./common-paths'); const webpack = require('webpack'); const config = { mode: 'development', devtool: 'inline-source-map', devServer: { contentBase: commonPaths.outputPath, compress: true, hot: false, port: 9000 }, plugins: [ new webpack.HotModuleReplacementPlugin() ] }; module.exports = config;