Revert "build: remove cjs support"

This reverts commit 0128c1c9e0.
This commit is contained in:
Benjamin Canac
2025-01-09 12:28:23 +01:00
parent 410b7db201
commit 15b411de4a
2 changed files with 11 additions and 3 deletions

View File

@@ -8,6 +8,9 @@ export default defineBuildConfig({
'./src/unplugin',
'./src/vite'
],
rollup: {
emitCJS: true
},
replace: {
'process.env.DEV': 'false',
'process.env.NUXT_UI_DEVTOOLS_LOCAL': 'false'