feat(dev): enhance hot reload development setup

This commit is contained in:
Maintainer Bruno
2025-06-04 16:56:22 +05:30
parent afaebf6b3d
commit 1cc94e8ffe
5 changed files with 245 additions and 1 deletions

View File

@@ -9,7 +9,8 @@
"package.json"
],
"scripts": {
"build": "rollup -c"
"build": "rollup -c",
"watch": "rollup -c -w"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^23.0.2",

View File

@@ -15,6 +15,7 @@
"test": "jest",
"prebuild": "npm run clean",
"build": "rollup -c",
"watch": "rollup -c -w",
"prepack": "npm run test && npm run build"
},
"devDependencies": {

View File

@@ -14,6 +14,7 @@
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "rollup -c",
"watch": "rollup -c -w",
"prepack": "npm run test && npm run build"
},
"devDependencies": {