Explorar el Código

feat(web): support dev watch

hujinliang hace 5 años
padre
commit
4f48586ab7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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",