You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using in a library/package with moduleResolution set to node16 or nodenext, file extensions are required for local imports.
for ts files, imports should end in .js and for tsx files, they should end in .jsx.
using rollup-preset-solid as-is, .js imports work fine, however any ending in .jsx fail to resolve and requires the use of @rollup/plugin-typescript
Could this behaviour be rolled into this preset, as I have seen a few people come unstuck when trying to move to modern module resolution.
The text was updated successfully, but these errors were encountered:
When using in a library/package with
moduleResolution
set tonode16
ornodenext
, file extensions are required for local imports.for ts files, imports should end in
.js
and for tsx files, they should end in.jsx
.using
rollup-preset-solid
as-is,.js
imports work fine, however any ending in.jsx
fail to resolve and requires the use of@rollup/plugin-typescript
Could this behaviour be rolled into this preset, as I have seen a few people come unstuck when trying to move to modern module resolution.
The text was updated successfully, but these errors were encountered: