wowtoken.app

git clone https://git.emily.sh/wowtoken-app/wowtoken.app.git
Log | Files | Refs | README | LICENSE

commit 4ce5481fd0bdb3685b1e3774952fc72ff0cf4b3e
parent 25e9353f221975b1147eab43754c66f829874a01
Author: Emily Doherty <git@emily.sh>
Date:   Sat,  4 Mar 2023 15:48:02 -0800

Correct build rule to include production mode

Not that it wasn't building in production before, but this means it no longer warns it's using the default values

Diffstat:
Mpackage.json | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "webpack && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/", + "build": "webpack --mode production && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/", "build-dev": "webpack --mode development && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/" }, "devDependencies": {