Skip to content

Commit 1ad6670

Browse files
authored
Merge pull request #104 from rcpch:fonts
Fonts
2 parents 375d5c9 + b853da8 commit 1ad6670

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1242
-2106
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
build/
3+
dist/
34
storybook-static/
45
.DS_Store
56
.vscode

.storybook/main.ts

+10-20
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,23 @@ import type { StorybookConfig } from '@storybook/react-webpack5';
22

33
const config: StorybookConfig = {
44
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
5-
staticDirs: ['../src/images', '../src/fonts'],
5+
staticDirs: ['../src/images'],
66
addons: [
77
'@storybook/addon-links',
88
'@storybook/addon-essentials',
99
'@storybook/addon-onboarding',
1010
'@storybook/addon-interactions',
1111
'@storybook/addon-mdx-gfm',
1212
'@storybook/addon-webpack5-compiler-babel',
13-
{
14-
name: '@storybook/addon-styling-webpack',
15-
options: {
16-
rules: [
17-
// Replaces existing CSS rules with given rule
18-
{
19-
test: /\.css$/,
20-
use: [
21-
'style-loader',
22-
'css-loader',
23-
{
24-
loader: "sass-loader",
25-
options: { implementation: require.resolve("sass") }
26-
},
27-
],
28-
}
29-
]
30-
}
31-
}
13+
// {
14+
// name: '@storybook/addon-styling-webpack',
15+
// options: {
16+
// rules: [
17+
// // Replaces existing CSS rules with given rule
18+
// // s
19+
// ]
20+
// }
21+
// }
3222
],
3323
framework: {
3424
name: '@storybook/react-webpack5',

0 commit comments

Comments
 (0)