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
I'm using this plugin mainly for writing webpack config with export default.
if I do import webpackConfig from '', it seems babel-node has helped handle the module, and I wouldn't need this plugin.
If I do require('./webpackConfig'), it is treated as an UMD, presumably babel-node doesn't transpile the export, so I need to use this plugin to enable it.
Is the understanding correct?
The text was updated successfully, but these errors were encountered:
I'm using this plugin mainly for writing webpack config with
export default
.if I do
import webpackConfig from ''
, it seemsbabel-node
has helped handle the module, and I wouldn't need this plugin.If I do
require('./webpackConfig')
, it is treated as an UMD, presumablybabel-node
doesn't transpile theexport
, so I need to use this plugin to enable it.Is the understanding correct?
The text was updated successfully, but these errors were encountered: