vueComponent / ant-design-vue-nuxt

MIT License
61 stars 6 forks source link

chore: test bundler module resolution #30

Closed danielroe closed 6 months ago

danielroe commented 6 months ago

This is a 'canary' pull request. It aims to ensure that the ecosystem is ready for a shift in the default Nuxt TypeScript module resolution from 'Legacy' to 'Bundler': https://github.com/nuxt/nuxt/pull/24837.

'Bundler' module resolution is recommended by Vue and by Vite, but unfortunately there are still many packages that do not have the correct entries in their package.json.

This might include this module or packages that are used by this module. You can see, for example: https://arethetypeswrong.github.io/?p=@ant-design-vue/nuxt. The initial red X for node10 needs to be fixed in https://github.com/nuxt/module-builder; you can ignore that for now.

If there are any errors reported in CI for this PR, it would be good to fix them for the sake of any users of this module who enable the Bundler module resolution. Feel free to ping me or others on the Nuxt Discord if you need any help resolving - and feel free to check out https://github.com/nuxt/nuxt/pull/24837 for any feedback or comments from others affected.