瀏覽代碼

Fixes build.

Starting version 4.x clean-css is split into two packages and we should depend on clean-css-cli for versions 4 and above. Tested it and we have currently some problem with it like fonts and images got referenced under css folder. So sticking version to 3.x for now.
j8
damencho 8 年之前
父節點
當前提交
be8860080c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      package.json

+ 1
- 1
package.json 查看文件

57
     "babel-preset-es2015": "^6.18.0",
57
     "babel-preset-es2015": "^6.18.0",
58
     "babel-preset-react": "^6.16.0",
58
     "babel-preset-react": "^6.16.0",
59
     "babel-preset-stage-1": "^6.16.0",
59
     "babel-preset-stage-1": "^6.16.0",
60
-    "clean-css": "*",
60
+    "clean-css": "^3.0.0",
61
     "css-loader": "*",
61
     "css-loader": "*",
62
     "eslint": "^3.13.1",
62
     "eslint": "^3.13.1",
63
     "eslint-plugin-jsdoc": "*",
63
     "eslint-plugin-jsdoc": "*",

Loading…
取消
儲存