浏览代码

Revert "Add environment parameter in package.json build scripts"

This reverts commit 50bbb04958a28e7e6130f8cb1aba3d33f8804399.
Tristan Valcke 8 年之前
父节点
当前提交
c971139082
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -26,8 +26,8 @@
     "extends": "mdcs"
     "extends": "mdcs"
   },
   },
   "scripts": {
   "scripts": {
-    "build": "rollup -c --environment BUILD:production",
-    "build-test": "rollup -c --environment BUILD:test",
+    "build": "rollup -c",
+    "build-test": "rollup -c rollup.unit.config.js",
     "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
     "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
     "build-closure": "rollup -c && java -jar utils/build/compiler/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
     "build-closure": "rollup -c && java -jar utils/build/compiler/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
     "dev": "rollup -c -w",
     "dev": "rollup -c -w",