Buslowicz / twc

TypeScript based, boilerplate-less, Polymer toolbox friendly Polymer Modules
32 stars 1 forks source link

transpiles relative import paths incorrectly #131

Closed omar-codesenberg closed 6 years ago

omar-codesenberg commented 6 years ago

import "../../styles/shared-styles.html"; transpiles to: <link rel="import" href="../../styles/shared-styles.html.html">

Note the extra file extension appended at the end of the file path incorrectly.

Buslowicz commented 6 years ago

This was left as that, as the idea was that all the components are TS modules and thus should be imported without an extension. Thinking about it now, it actually makes sense that some use cases might contain local components (imported relatively) that are not TS based. Just fixed it, I will release a new version this weekend (Christmas gift ^^).

omar-codesenberg commented 6 years ago

Thanks for the update as always and Happy Holidays!