mirror of
https://github.com/jcreek/BankStatementAnalyser.git
synced 2026-07-12 18:43:49 +00:00
chore(*): Add base project files
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user