create-nextgen
Version:
A CLI tool to scaffold projects using the NextGen template.
17 lines (16 loc) • 450 B
JavaScript
const webpack = require('webpack');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
module.exports = {
mode: 'development',
devServer: {
hot: true,
open: true,
},
devtool: 'cheap-module-source-map',
plugins: [
new webpack.DefinePlugin({
'process.env.name': JSON.stringify('Anish'),
}),
new ReactRefreshWebpackPlugin(),
]
}