-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
I seem to have problems including anything that imports ESM. Here is the sandbox: https://codesandbox.io/s/vjzy5o7yy0
I bablify sources using the following:
{
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"helpers": true,
"polyfill": false,
"regenerator": true,
"moduleName": "@babel/runtime"
}
]
],
"presets": [
["@babel/preset-env", { "loose": true, "modules": false }],
"@babel/preset-stage-2",
"@babel/preset-react"
]
}and package.json points to:
"module": "dist/index.js",
It works fine locally but something throws it off in CSB.
Metadata
Metadata
Assignees
Labels
No labels
