feat: use vite & esm build #338
Annotations
2 errors and 1 warning
node_modules/geostyler-openlayers-parser/build/dist/OlStyleParser.js#L19
Error: require() of ES Module /home/runner/work/geostyler-legend/geostyler-legend/node_modules/ol/ImageState.js from /home/runner/work/geostyler-legend/geostyler-legend/node_modules/geostyler-openlayers-parser/build/dist/OlStyleParser.js not supported.
Instead change the require of ImageState.js in /home/runner/work/geostyler-legend/geostyler-legend/node_modules/geostyler-openlayers-parser/build/dist/OlStyleParser.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/geostyler-openlayers-parser/build/dist/OlStyleParser.js:19:36
❯ async /home/runner/work/geostyler-legend/geostyler-legend/src/LegendRenderer/LegendRenderer.ts:7:31
❯ async /home/runner/work/geostyler-legend/geostyler-legend/src/LegendRenderer/LegendRenderer.spec.ts:1:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading