ecamp3 icon indicating copy to clipboard operation
ecamp3 copied to clipboard

Upgrade to ESM is currently blocked

Open usu opened this issue 1 year ago • 1 comments

  • Vite CJS build is deprecated https://vitejs.dev/guide/migration.html#deprecate-cjs-node-api
  • newest version of react-pdf removes CJS support https://github.com/ecamp/ecamp3/pull/6036
  • Upgrading everything ESM build is blocked by eslint-plugin-local-rules https://github.com/cletusw/eslint-plugin-local-rules/issues/30

usu avatar Sep 29 '24 08:09 usu

eslint-plugin-local rules might not be necessary with introduction of eslint flat config. There seems to be possibilities to load custom rules directly from the config:

https://eslint.org/blog/2022/08/new-config-system-part-2/#from---rulesdir-to-runtime-plugins https://eslint.org/docs/latest/extend/custom-rule-tutorial

usu avatar Sep 29 '24 13:09 usu

fixed with

  • https://github.com/ecamp/ecamp3/pull/6571

BacLuc avatar Mar 22 '25 08:03 BacLuc