-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add Tailwind support - Optimize component - Graphic fixes
Showing
11 changed files
with
3,675 additions
and
5,891 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules/ | ||
docs-build/ | ||
coverage/ | ||
build/ | ||
debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,45 @@ | ||
import typescript from 'rollup-plugin-typescript2' | ||
import commonjs from 'rollup-plugin-commonjs' | ||
import external from 'rollup-plugin-peer-deps-external' | ||
import resolve from 'rollup-plugin-node-resolve' | ||
import postcss from 'rollup-plugin-postcss' | ||
import { terser } from 'rollup-plugin-terser' | ||
import typescript from "rollup-plugin-typescript2" | ||
import commonjs from "rollup-plugin-commonjs" | ||
import external from "rollup-plugin-peer-deps-external" | ||
import resolve from "rollup-plugin-node-resolve" | ||
import postcss from "rollup-plugin-postcss" | ||
import { terser } from "rollup-plugin-terser" | ||
|
||
import pkg from './package.json' assert { type: "json" } | ||
import pkg from "./package.json" assert { type: "json" } | ||
|
||
export default { | ||
input: 'src/index.ts', | ||
input: "src/index.ts", | ||
output: [ | ||
{ | ||
file: pkg.main, | ||
format: 'cjs', | ||
exports: 'named', | ||
sourcemap: true | ||
} | ||
format: "cjs", | ||
exports: "named", | ||
sourcemap: true, | ||
}, | ||
], | ||
plugins: [ | ||
resolve(), | ||
postcss({ | ||
extensions: ['.css'], | ||
extract: true | ||
extensions: [".css"], | ||
extract: true, | ||
}), | ||
external(), | ||
typescript({ | ||
rollupCommonJSResolveHack: true, | ||
exclude: ['**/__tests__/**', '**/*.stories.tsx'], | ||
clean: true | ||
exclude: ["**/__tests__/**", "**/*.stories.tsx"], | ||
clean: true, | ||
}), | ||
terser(), | ||
commonjs({ | ||
include: ['node_modules/**'], | ||
include: ["node_modules/**"], | ||
namedExports: { | ||
'node_modules/react/react.js': [ | ||
'Children', | ||
'Component', | ||
'PropTypes', | ||
'createElement' | ||
"node_modules/react/react.js": [ | ||
"Children", | ||
"Component", | ||
"PropTypes", | ||
"createElement", | ||
], | ||
'node_modules/react-dom/index.js': ['render'] | ||
} | ||
}) | ||
] | ||
"node_modules/react-dom/index.js": ["render"], | ||
}, | ||
}), | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters