-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Declarations not included and Types not satisifed by inclusion of src (broken sourcemaps) #250
Comments
I wonder if changing |
This'll be fixed by #252 Will close for now. |
This may need further investigation.
|
@BinToss I think I need |
None of Packemon's Types are visible to other packages. Release 4.0.1 does not include declaration files.
Because Types.ts is a glorified declarations file, its MJS output has no code and its sourcemap is broken.
{"version":3,"file":"types.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":""}
Consequently,
import type { ConfigFile } from 'packemon';
(as demonstrated at https://packemon.dev/docs/advanced/#customizing-babel-swc-and-rollup:~:text=TypeScript,JavaScript) is invalid.Types can be explicitly imported via the relative path of
src/Types.ts
, but this can result in error TS1484 when TS is configured withcompilerOptions.verbatimModuleSyntax
. This issue is monitored at #249.The text was updated successfully, but these errors were encountered: