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
{{ message }}
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
It is common in a webpack environment when using babel to not transform modules within the node_modules directory. Our package's "module" field points directly to the src files, which are typically compiled with @babel/preset-env. When babel is configured to not compile our packages within node_modules, bundles that use our packages can end up broken.
This can be seen in @bigtest/interaction tests by removing the (!?/@bigtest) regexp within the babel-loader exclude option in the karma.config.js file. This causes the package to fail to properly extend the convergence class and thereby causes every test to fail.
It is common in a webpack environment when using babel to not transform modules within the
node_modules
directory. Our package's"module"
field points directly to thesrc
files, which are typically compiled with@babel/preset-env
. When babel is configured to not compile our packages withinnode_modules
, bundles that use our packages can end up broken.This can be seen in
@bigtest/interaction
tests by removing the(!?/@bigtest)
regexp within thebabel-loader
exclude option in thekarma.config.js
file. This causes the package to fail to properly extend the convergence class and thereby causes every test to fail.(moved from thefrontside/bigtest#55)
The text was updated successfully, but these errors were encountered: