david пре 6 година
родитељ
комит
61d5e41d67
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      build.json
  2. 1 1
      recipes/package.json

+ 1 - 1
build.json

@@ -4,7 +4,7 @@
       "name": "recipes",
       "dir": "recipes",
       "artifacts": [
-        "build/"
+        "frontend.tar.gz"
       ]
     },
     {

+ 1 - 1
recipes/package.json

@@ -56,7 +56,7 @@
   },
   "scripts": {
     "start": "PORT=3006 react-scripts start",
-    "build": "react-scripts build",
+    "build": "react-scripts build && cd build && tar czf ../frontend.tar.gz .",
     "test": "react-scripts test",
     "eject": "react-scripts eject",
     "storybook": "start-storybook -p 9009 -s public",