From 7b08f41f2204cd7e7e5d9edb6ea00e5f80a6859b Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Mon, 9 Jan 2023 12:58:06 -0800 Subject: [PATCH] distributable folder --- .gitignore | 1 + makefile | 7 +++++++ index.html => static/index.html | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 makefile rename index.html => static/index.html (73%) diff --git a/.gitignore b/.gitignore index c2658d7..b947077 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules/ +dist/ diff --git a/makefile b/makefile new file mode 100644 index 0000000..a8a8c92 --- /dev/null +++ b/makefile @@ -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 diff --git a/index.html b/static/index.html similarity index 73% rename from index.html rename to static/index.html index d014cda..d7c3586 100644 --- a/index.html +++ b/static/index.html @@ -4,6 +4,6 @@ Webpack Starter - +