dolphins7.skeleton/client/webpack.development.js
0x1eef 2bf57351ea Re-implement the client
Not all website features are working, but this commit is mostly
focused on an architecture that can be used in future projects
2024-07-31 22:48:00 -03:00

18 lines
447 B
JavaScript

const { merge } = require('webpack-merge');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const common = require('./webpack.common.js');
const path = require('path');
module.exports = merge(
common,
{ mode: "development", devServer: {static: './build'} },
{ plugins: [new HtmlWebpackPlugin({
inject: false,
templateParameters: {
mainjs: '/static/js/main.js'
}
})]},
)
console.log(module.exports)