-
Notifications
You must be signed in to change notification settings - Fork 881
build on windows fails in 4.9.0 #4407
Copy link
Copy link
Closed
Labels
Description
Product
axe-core
Product Version
4.9.0
Latest Version
- I have tested the issue with the latest version of the product
Issue Description
Expectation
A valid build/tasks/metadata-function-map.js like in version 4.8.4
// This file is automatically generated using build/tasks/metadata-function-map.js
import abstractroleEvaluate from '../../checks/aria/abstractrole-evaluate.js';
import ariaAllowedAttrEvaluate from '../../checks/aria/aria-allowed-attr-evaluate.js';
....
const metadataFunctionMap = {
'abstractrole-evaluate': abstractroleEvaluate,
'accesskeys-after': accesskeysAfter,
....Actual
build fails with
Running "esbuild:core" (esbuild) task > lib/core/base/metadata-function-map.js:2:11: error: Syntax error "c"
// This file is automatically generated using build/tasks/metadata-function-map.js
import lib\checks\visibility\hiddenContentEvaluate from '../../../lib\checks\visibility\hidden-content-evaluate.js';
import lib\checks\tables\thHasDataCellsEvaluate from '../../../lib\checks\tables\th-has-data-cells-evaluate.js';
....
const metadataFunctionMap = {
'lib\checks\aria\abstractrole-evaluate': lib\checks\aria\abstractroleEvaluate,
'lib\checks\aria\aria-allowed-attr-evaluate': lib\checks\aria\ariaAllowedAttrEvaluate,
....How to Reproduce
Build on windows with
npm run build -- --lang=deAdditional context
i think it is something with an upgraded dependency, because all buits in older versions are still working and I see nothing in the changelog that seems like an cause.
Reactions are currently unavailable