distributable folder

This commit is contained in:
Michael Peters 2023-01-09 12:58:06 -08:00
parent b9159e5b98
commit 7b08f41f22
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules/
dist/

7
makefile Normal file
View File

@ -0,0 +1,7 @@
build:
mkdir -p dist
cp static/index.html dist/
cp src/index.js dist/
dev-server:
python -m http.server --directory dist/ 8700

View File

@ -4,6 +4,6 @@
<title>Webpack Starter</title>
</head>
<body>
<script src="./src/index.js"></script>
<script src="./index.js"></script>
</body>
</html>