-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Description
Right now the resulting dist/index.min.js does not provide named exports because the format is not set to esm. This happens because of padded umd banner and footer. The output should be esm which can then be imported for both the browser and node.
This can be achieved right now by setting package.json like so:
...
"type": "module",
...
"aegir": {
"build": {
"config": {
"format": "esm",
"banner": {
"js": ""
},
"footer": {
"js": ""
}
}
}
},
...This should be selected by default if:
package.jsontype is set tomodulebuild.config.formatisesm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization