preset-env include default export-namespace-from #12101
Replies: 2 comments 3 replies
-
When we say
The |
Beta Was this translation helpful? Give feedback.
-
by It's just be my assuming. |
Beta Was this translation helpful? Give feedback.
-
In the https://babeljs.io/blog/2020/07/30/7.11.0
@babel/plugin-proposal-export-namespace-from
https://github.com/babel/babel/blob/v7.11.0/packages/babel-preset-env/src/index.js#L137
If want to use this by default, why not push
proposal-export-namespace-from
directly.And the blog said:
So, current the
caller
always beundefined
.May i think the above
shouldTransformExportNamespaceFrom
is just to compatible withcaller
syntax in the near future? And, ifcaller
been supported, does thepreset-env
include@babel/plugin-proposal-export-namespace-from
by default ? (Or thedefault includes
mean is use the default config as premise(work bybabel-loader
and@rollup/plugin-babel
))Beta Was this translation helpful? Give feedback.
All reactions