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
"module" property points to es6 version of sources, but "main" for minified and browser-ready. https://webpack.js.org/configuration/resolve/#resolve-mainfields - by default webpack uses browser -> module -> main, so it will find es6 sources and in common case babel transpiling of node_modules is disabled, so it will result in es6 code in the result build. Should be fixed, I suggest to add "browser" prop that should point to the minified version of this pkg
The text was updated successfully, but these errors were encountered:
"module" property points to es6 version of sources, but "main" for minified and browser-ready.
https://webpack.js.org/configuration/resolve/#resolve-mainfields - by default webpack uses browser -> module -> main, so it will find es6 sources and in common case babel transpiling of node_modules is disabled, so it will result in es6 code in the result build. Should be fixed, I suggest to add "browser" prop that should point to the minified version of this pkg
The text was updated successfully, but these errors were encountered: