Skip to content

Commit 01598e3

Browse files
authored
Auto generate sections (#74)
1 parent c29c7c7 commit 01598e3

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

+4339
-3808
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
"prettier": "^2.5.1",
7272
"raw-loader": "^4.0.2",
7373
"react-docgen-typescript": "^2.2.2",
74-
"react-styleguidist": "^5.5.10",
74+
"react-styleguidist": "^11.2.0",
7575
"rollup": "^2.63.0",
7676
"rollup-plugin-dts": "^4.1.0",
7777
"rollup-plugin-postcss": "^4.0.2",
78-
"rollup-plugin-svg": "^2.0.0",
78+
"rollup-plugin-svg-import": "^1.6.0",
7979
"sass": "^1.49.4",
8080
"sass-loader": "^12.4.0",
8181
"style-loader": "^3.3.1",

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
22
import dts from 'rollup-plugin-dts';
33
import postcss from 'rollup-plugin-postcss';
4+
import svg from 'rollup-plugin-svg-import';
45

56
import commonjs from '@rollup/plugin-commonjs';
67
import resolve from '@rollup/plugin-node-resolve';
@@ -23,7 +24,7 @@ export default [
2324
sourcemap: true,
2425
},
2526
],
26-
plugins: [resolve(), commonjs(), postcss(), typescript({ tsconfig: './tsconfig.json' })],
27+
plugins: [svg(), resolve(), commonjs(), postcss(), typescript({ tsconfig: './tsconfig.json' })],
2728
external: ['react', 'react-dom'],
2829
},
2930
{
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './OSIcon';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)