Closed vvanpo closed 3 years ago
Thanks, @vvanpo. Fixed in 2.4.5.
FWIW, the issue was caused by upgrading balanced-match to v2.0.0. The new version does not contain a pre-built ES5 distributable, and my babel configuration is set to exclude files in /node_modules/
. The end result was balanced-match
v2.0.0 was being included as-is (i.e., no transpilation).
I have added es-check
to the build process to prevent this from happening in the future.
In my project I use
es-check
to verify that my bundles are properly transpiled down to ES5, as I don't run allnode_modules
dependencies through Babel. After upgrading from2.4.3
to2.4.4
, this check failed.Example:
I assume that the
dist/css-vars-ponyfill.min.js
is intended to be referenced by a<script>
tag within IE9, so I would expect the bundle to pass all ES5 checks.