From ba0abca4303ce02b1e4a30cff0e911b3b7876558 Mon Sep 17 00:00:00 2001 From: TheMas3212 Date: Tue, 26 Sep 2023 17:50:10 +1000 Subject: Fix Webpack config --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 5555d58..cd206e4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "types": "dist/lib.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "webpack --mode production" + "build": "webpack --mode production", + "prepublish": "npm run build" }, "author": "TheMas3212", "license": "MIT", -- cgit v1.2.3