v3.3.0 Circular dependency
npm run build-prod
console output ↓
[email protected] build-prod rollup -c --environment BUILD:production
src/index.js, src/source/worker.js → rollup/build/mapboxgl...
(!) @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to true, as the next major version will default this option to true.
[!] Error: Circular dependency: src/style-spec/expression/parsing_context.js -> src/style-spec/expression/compound_expression.js -> src/style-spec/expression/parsing_context.js
What's your OS? We added some code to ignore circular dependencies in style-spec, but maybe the leading slash breaks things in Windows, not sure... cc @stepankuzmin
https://github.com/mapbox/mapbox-gl-js/blob/541c310343547c76b83fb26c97126bb4f15f9479/rollup.config.js#L92-L97
os:windows 11 nodejs: v20.12.1
Resolved
windows path "/" is "//"
👇👇👇