Open przemkow opened 4 years ago
PR created as a followup to https://github.com/vuejs/vue-component-compiler/pull/103 I hope it will be useful for you 🙂
Housekeeping scope:
Update which required manual modification:
bundle.generate
bundle.write
Breaking changes:
Changes in dist: https://github.com/przemkow/vue-component-compiler/commit/3d8b756b682e52c3aed473fa763135fe36312f21
PS. About the issue with .default from the previous PR it seems to be related to how TypeScript handles ESM imports from CJS files. This is a pretty good explanation: https://github.com/microsoft/TypeScript/issues/13375
.default
Other issues related to the same problem: https://bit.ly/2XpmiyT
PR created as a followup to https://github.com/vuejs/vue-component-compiler/pull/103 I hope it will be useful for you 🙂
Housekeeping scope:
Update which required manual modification:
bundle.generate
andbundle.write
now return a new format after update to 1.0.0 Additional details:https://github.com/rollup/rollup/pull/2293
Breaking changes:
Changes in dist: https://github.com/przemkow/vue-component-compiler/commit/3d8b756b682e52c3aed473fa763135fe36312f21
PS. About the issue with
.default
from the previous PR it seems to be related to how TypeScript handles ESM imports from CJS files. This is a pretty good explanation: https://github.com/microsoft/TypeScript/issues/13375Other issues related to the same problem: https://bit.ly/2XpmiyT