ソースを参照

install growi-plugin-attachment-refs plugin when running build-prod step

Yuki Takei 6 年 前
コミット
1ec63c7da2
1 ファイル変更7 行追加1 行削除
  1. 7 1
      wercker.yml

+ 7 - 1
wercker.yml

@@ -51,13 +51,19 @@ build-prod:
     - script:
       name: install plugins
       code: |
-        yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker
+        yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs
+        yarn add -D react-images react-motion
 
     - script:
       name: npm run build:prod:analyze
       code: |
         npm run build:prod:analyze
 
+    - script:
+      name: shrink dependencies for production
+      code: |
+        yarn install --production
+
     - script:
       name: npm run server:prod:ci
       code: |