Browse Source

chore: try to switch to rspack storybook build

pointhalo 2 years ago
parent
commit
8ca4d0ef37
3 changed files with 632 additions and 17 deletions
  1. 2 1
      .storybook/base/base.js
  2. 2 1
      package.json
  3. 628 15
      yarn.lock

+ 2 - 1
.storybook/base/base.js

@@ -32,7 +32,8 @@ function getAddons() {
 
 module.exports = {
     framework: {
-        name: "@storybook/react-webpack5",
+        // name: "@storybook/react-webpack5",
+        name: "storybook-react-rspack",
         options: {
             fastRefresh: true
         },

+ 2 - 1
package.json

@@ -92,6 +92,7 @@
         "react-virtualized": "^9.22.3",
         "reset-css": "^5.0.1",
         "sass": "1.54.9",
+        "storybook-react-rspack": "^7.0.0-rc.24",
         "typeface-inconsolata": "0.0.72",
         "typeface-inter": "^3.18.1",
         "unist-util-remove": "^1.0.3",
@@ -229,4 +230,4 @@
         ]
     },
     "license": "MIT"
-}
+}

File diff suppressed because it is too large
+ 628 - 15
yarn.lock


Some files were not shown because too many files changed in this diff