Browse Source

feat(web): support dev watch

hujinliang 4 years ago
parent
commit
4f48586ab7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      web/package.json

+ 2 - 1
web/package.json

@@ -5,7 +5,8 @@
   "main": "dist/vap.js",
   "main": "dist/vap.js",
   "scripts": {
   "scripts": {
     "build": "npm run dist && rollup --config rollup.config.dist.js",
     "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": [
   "keywords": [
     "webgl",
     "webgl",