Changed webpack config, added index.html
This commit is contained in:
parent
5092cf1470
commit
204dc9a2bb
12
index.html
Normal file
12
index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Uno game JS</title>
|
||||
<script src='js/uno_game.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id='uno-game'></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
1
js/25c444c4f582dbc97530.svg
Normal file
1
js/25c444c4f582dbc97530.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.1 KiB |
5395
js/377dcbde62f67ce002a7.svg
Normal file
5395
js/377dcbde62f67ce002a7.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 296 KiB |
BIN
js/494a6b831f5837e010b9.jpg
Normal file
BIN
js/494a6b831f5837e010b9.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
359
js/uno_game.js
Normal file
359
js/uno_game.js
Normal file
File diff suppressed because one or more lines are too long
@ -4,8 +4,8 @@ module.exports = {
|
||||
mode: "development", // "production" | "development" | "none"
|
||||
entry: "./src/index.js", // string | object | array
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"), // string (default)
|
||||
filename: "[name].js", // string (default)
|
||||
path: path.resolve(__dirname, "js"), // string (default)
|
||||
filename: "uno_game.js", // string (default)
|
||||
//publicPath: "/assets/", // string
|
||||
uniqueName: "uno-game", // (defaults to package.json "name")
|
||||
// unique name for this build to avoid conflicts with other builds in the same HTML
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user