diff --git a/package.json b/package.json index bca4c03..e6a3beb 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1", "lint": "eslint src", "lint:fix": "eslint src --fix", - "build": "swc src -d dist" + "build": "rimraf dist && swc src -d dist --config-file .swcrc --strip-leading-paths" }, "type": "module", "author": "KagChi",