onebay / vite-plugin-imp

A vite plugin for import library component style automatic.
MIT License
231 stars 24 forks source link

Missing semicolon causes build to fail #32

Closed itlangzi closed 2 years ago

itlangzi commented 2 years ago

v2.1.4 just upgrade and build fail, the semicolon is missing? source code at src/shared.ts line 68

newImportStatement += `import ${localName} from '${libName}/${libDir}${finalName}'`
psaren commented 2 years ago

v2.1.4 just upgrade and build fail, the semicolon is missing? source code at src/shared.ts line 68

newImportStatement += `import ${localName} from '${libName}/${libDir}${finalName}'`

This is cause by PR #31 Thanks to this issue for letting me know about this bug in #33. I will deprecate V2.1.4 and republish a new version V2.1.5.