-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
The changes from #8081 introduced a new --init-type flag that sets the field type to commonjs by default, or any user provided string value. This is a good start but has a couple of caveats, namely:
- The default value of
commonjsis not suitable for new packages, ideally this would default tomoduleas the whole ecosystem is moving to ECMAScript modules, this is especially true for new packages. - There are only two valid options for the
typefield (commonjsormodule), and this field allows free input of text by the user, ideally the user would select from these predefined options only.
atjn, zanminkian, mikemaccana, AugustinMauroy, raviqqe and 1 moreljharb
Metadata
Metadata
Assignees
Labels
No labels