Can't quite tell what's changed

This commit is contained in:
Daniel Ledda
2020-05-24 11:46:17 +02:00
parent d99d7cbfec
commit f08105c39f
20 changed files with 144 additions and 137 deletions

View File

@@ -3,7 +3,7 @@ const webpack = require("webpack");
module.exports = {
entry: "./src/index.tsx",
mode: "development",
mode: "production",
module: {
rules: [
{
@@ -38,13 +38,13 @@ module.exports = {
resolve: { extensions: [".tsx", ".ts", ".js", "*"] },
output: {
path: path.resolve(__dirname, "dist/"),
publicPath: "/kadi/game/static/",
publicPath: "/kadi/static/game/",
filename: "bundle.js"
},
devServer: {
contentBase: path.join(__dirname, "public/"),
port: 3000,
publicPath: "http://localhost:3000/dist/",
publicPath: "http://localhost:3000/",
hotOnly: true
},
plugins: [new webpack.HotModuleReplacementPlugin()]