Skip to content

Commit

Permalink
drop gear-ui cjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov committed Jan 21, 2025
1 parent 391187a commit abdf310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions utils/gear-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"identity-obj-proxy": "3.0.0",
"jest-environment-jsdom": "29.0.1"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
Expand Down
5 changes: 1 addition & 4 deletions utils/gear-ui/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ const writeCssImport = () => ({
export default [
{
input: 'src/index.ts',
output: [
{ file: packageJson.main, format: 'cjs' },
{ file: packageJson.module, format: 'esm' },
],
output: [{ file: packageJson.main, format: 'esm' }],
plugins: [
peerDepsExternal(),
postcss({ extract: true, minimize: true }),
Expand Down

0 comments on commit abdf310

Please sign in to comment.