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
alexzhang1030
changed the title
Build error when import kebab-case field from json file.
Build result incorrect when import kebab-case field from json file.
Feb 15, 2023
pi0
changed the title
Build result incorrect when import kebab-case field from json file.
cannot use kebab-case keys from .json file default exports
Jul 18, 2023
Environment
stackblitz
unbuild: ^1.1.1
node: 16.14.2
Reproduction
https://stackblitz.com/edit/node-z61fts?file=index.js
Describe the bug
When import a kabab-case field from json file.
The result after the build is incorrect.
Please see
reproduction
and executenpm run build
, and seedist/index.js.mjs
.I think this is an upstream error from
rollup
. But I cannot reproduce it by using rollup.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: