How to use webpack 5 with nuxt3 project

Solution 1:

Thanks for Danielroe who answered my Github discussion

You can enable Webpack by setting Vite to false on nuxt.config.ts:

export default defineNuxtConfig({
  vite: false
})