chore(*): Add base project files

This commit is contained in:
Josh Creek
2022-12-17 15:13:17 +00:00
parent e5d25b4354
commit 2b4cbd84ef
15 changed files with 338 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
const path = require('path');
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
static: {
directory: path.resolve(__dirname, 'dist'),
},
port: 3000,
open: true,
hot: true,
compress: true,
historyApiFallback: true,
devMiddleware: {
index: true,
mimeTypes: { phtml: 'text/html' },
writeToDisk: true,
},
},
});