Skip to content

Commit

Permalink
switch to rslib
Browse files Browse the repository at this point in the history
  • Loading branch information
binarykitchen committed Nov 1, 2024
1 parent eb597a6 commit e907d0a
Show file tree
Hide file tree
Showing 9 changed files with 683 additions and 633 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.storybook/public/mockServiceWorker.js
.storybook/public/mockServiceWorker.js
package-lock.json
5 changes: 1 addition & 4 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ const config: StorybookConfig = {
name: "storybook-html-rsbuild",
options: {
builder: {
rsbuildConfigPath: "etc/rsbuild/config.ts",
rsbuildConfigPath: "rslib.config.ts",
},
},
},
staticDirs: ["./public"],
core: {
disableTelemetry: true,
},
};

export default config;
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"prefinish",
"rsbuild",
"RSDOCTOR",
"rslib",
"rspack",
"rubberband",
"Sadler",
Expand Down
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default tseslint.config(
languageOptions: {
globals: {
...globals.node,
...globals.browser,
},
parser: tseslint.parser,
parserOptions: {
Expand Down
12 changes: 0 additions & 12 deletions etc/rsbuild/paths.ts

This file was deleted.

Loading

0 comments on commit e907d0a

Please sign in to comment.