Skip to content

Commit e3cbddf

Browse files
committed
fix: Add rollup css config
1 parent 3ea4854 commit e3cbddf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rollup.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import typescript from "@rollup/plugin-typescript";
44
import del from 'rollup-plugin-delete';
55
import svgr from '@svgr/rollup';
66
import commonjs from '@rollup/plugin-commonjs'
7+
import css from "rollup-plugin-import-css";
78

89
// eslint-disable-next-line import/no-anonymous-default-export
910
export default [
@@ -36,7 +37,8 @@ export default [
3637
'node_modules/rc-util/node_modules/react-is/index.js': ['isFragment', 'useMemo', 'isMemo'],
3738
'node_modules/react-is/index.js': ['isFragment', 'useMemo', 'isMemo']
3839
}
39-
})
40+
}),
41+
css()
4042
],
4143
external: ['lodash']
4244
},

0 commit comments

Comments
 (0)