Эх сурвалжийг харах

feat(web): support dev watch

hujinliang 5 жил өмнө
parent
commit
4f48586ab7
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      web/package.json

+ 2 - 1
web/package.json

@@ -5,7 +5,8 @@
   "main": "dist/vap.js",
   "scripts": {
     "build": "npm run dist && rollup --config rollup.config.dist.js",
-    "dist": "rollup --config rollup.config.js"
+    "dist": "rollup --config rollup.config.js",
+    "dev": "rollup --config rollup.config.js --watch"
   },
   "keywords": [
     "webgl",