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
Our builds started failing yesterday. When we override @babel/traverse to 7.25.9, the builds are working fine. @babel/traverse v7.26.3 seems to be the culprit.
Minimal code to reproduce the bug
Angular app running Storybook
Stack Trace
Error: /azp/_work/1/s/tools/src/storybook/argTypes/api.ts: Binding not found for ReferencedIdentifier "createOption" present in "AssignmentExpression". Please report this at https://github.com/babel/minify/issues/new
at ReferencedIdentifier (/azp/_work/1/s/node_modules/babel-plugin-minify-mangle-names/lib/index.js:199:19)
at newFn (/azp/_work/1/s/node_modules/@babel/traverse/lib/visitors.js:205:17)
at bfsTraverse (/azp/_work/1/s/node_modules/babel-plugin-minify-mangle-names/lib/bfs-traverse.js:38:43)
at Mangler.collect (/azp/_work/1/s/node_modules/babel-plugin-minify-mangle-names/lib/index.js:235:7)
at Mangler.run (/azp/_work/1/s/node_modules/babel-plugin-minify-mangle-names/lib/index.js:60:12)
at PluginPass.exit (/azp/_work/1/s/node_modules/babel-plugin-minify-mangle-names/lib/index.js:546:19)
at newFn (/azp/_work/1/s/node_modules/@babel/traverse/lib/visitors.js:170:14)
at NodePath._call (/azp/_work/1/s/node_modules/@babel/traverse/lib/path/context.js:50:20)
at NodePath.call (/azp/_work/1/s/node_modules/@babel/traverse/lib/path/context.js:40:18)
at NodePath.visit (/azp/_work/1/s/node_modules/@babel/traverse/lib/path/context.js:97:8) {
code: 'BABEL_TRANSFORM_ERROR'
}
##[error]> 1
##[error]Bash exited with code '1'.
Configuration - babel-minify configuration or babelrc
Our builds started failing yesterday. When we override @babel/traverse to 7.25.9, the builds are working fine. @babel/traverse v7.26.3 seems to be the culprit.
Minimal code to reproduce the bug
Angular app running Storybook
Stack Trace
Whether you used it with other presets/plugins - like es2015 or env
See below
Environment: gulp, rollup, webpack, babel-cli, etc...?
The text was updated successfully, but these errors were encountered: