Skip to content

Commit

Permalink
fix: fix .d.ts imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 27, 2021
1 parent d84761b commit 88c6759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = async (format, outputDir = 'package') => {
const importComponents = components
.map(
(componentName) =>
`import ${componentName} from './types/${componentName}.d.ts';`
`import ${componentName} from './types/${componentName}';`
)
.join('\n');
const exportComponents = `export { ${components.join(', ')} }`;
Expand Down

0 comments on commit 88c6759

Please sign in to comment.