Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 5f8eb47

Browse files
committed
Trying to fix storybook build 🚀
1 parent fcf0126 commit 5f8eb47

20 files changed

+4
-266
lines changed

.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
require.resolve("@babel/plugin-proposal-class-properties"),
3030
/** https://github.com/gatsbyjs/gatsby/issues/26099 **/
3131
[require.resolve("babel-plugin-remove-graphql-queries"), {
32-
stage: config.mode === `development` ? "develop-html" : "build-html",
32+
stage: "develop-html",
3333
staticQueryDir: "page-data/sq/d",
3434
}],
3535
],

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@
3030
"scripts": {
3131
"start": "gatsby develop",
3232
"build": "gatsby build",
33+
"postbuild": "npm run build-storybook",
3334
"build-ci": "./scripts/build-ci.sh",
3435
"serve": "gatsby serve",
3536
"clean": "gatsby clean",
36-
"deploy": "npm run build-storybook && npm run build && gh-pages -d public -b main",
37+
"predeploy": "npm run build && cp -R ./static/chicio-coding-design-system ./public/chicio-coding-design-system",
38+
"deploy": "gh-pages -d public -b main",
3739
"storybook": "start-storybook -p 6006",
3840
"build-storybook": "build-storybook -o ./static/chicio-coding-design-system"
3941
},

static/chicio-coding-design-system/0.defe30e8.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/chicio-coding-design-system/1.6fbae3f7.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/chicio-coding-design-system/10.f37e1ad9.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/chicio-coding-design-system/5.49cbaf02.iframe.bundle.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

static/chicio-coding-design-system/5.49cbaf02.iframe.bundle.js.LICENSE.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

static/chicio-coding-design-system/5.49cbaf02.iframe.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/chicio-coding-design-system/6.423fb6c5.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/chicio-coding-design-system/7.ea288c58.iframe.bundle.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)