deploy configuraiton

This commit is contained in:
p-wojt 2022-01-13 22:51:41 +01:00
parent 147fbeb149
commit df0c3c571e
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Roulette wheel</title> <title>Roulette wheel</title>
<script src="bundle.js"></script> <script type="module" src="dist/scripts/bundle.js"></script>
<link rel="stylesheet" href="app.css" /> <link rel="stylesheet" href="app.css" />
</head> </head>
<body> <body>

View File

@ -4,7 +4,7 @@ module.exports = {
mode: "production", mode: "production",
entry: './src/app.ts', entry: './src/app.ts',
output: { output: {
path:path.resolve(__dirname, "dist"), path:path.resolve(__dirname, "dist/scripts"),
filename: "bundle.js", filename: "bundle.js",
publicPath: '/dist/' publicPath: '/dist/'
}, },