diff --git a/utils/gear-ui/package.json b/utils/gear-ui/package.json index 9b999ea76..586f59b1d 100644 --- a/utils/gear-ui/package.json +++ b/utils/gear-ui/package.json @@ -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", diff --git a/utils/gear-ui/rollup.config.mjs b/utils/gear-ui/rollup.config.mjs index 024eb7469..b8f685e9e 100644 --- a/utils/gear-ui/rollup.config.mjs +++ b/utils/gear-ui/rollup.config.mjs @@ -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 }),