Skip to content

Commit b11de87

Browse files
fix(react): resolved the build errorMerge pull request #51 from sanghamitradash021/feat/import
fix(react): resolved the build error
2 parents 5ea8b5f + ca405fc commit b11de87

3 files changed

Lines changed: 42 additions & 51 deletions

File tree

packages/document-editor-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@rollup/plugin-commonjs": "^25.0.4",
6161
"@rollup/plugin-node-resolve": "^15.2.1",
6262
"@rollup/plugin-terser": "^0.4.4",
63-
"@rollup/plugin-typescript": "^8.3.3",
63+
"@rollup/plugin-typescript": "^12.1.0",
6464
"@storybook/addon-essentials": "^7.4.6",
6565
"@storybook/addon-interactions": "^7.4.6",
6666
"@storybook/addon-links": "^7.4.6",

packages/document-editor-react/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default [
2424
exclude: 'node_modules/**',
2525
presets: ['@babel/preset-react']
2626
}),
27-
typescript({ tsconfig: './tsconfig.json', declarationDir: '.', rootDir: './component' }),
27+
typescript({ tsconfig: './tsconfig.json', declarationDir: 'dist', rootDir: './component' }),
2828
commonjs(),
2929
scss({
3030
insert: true

pnpm-lock.yaml

Lines changed: 40 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)