mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
update esm extensions to mjs
This commit is contained in:
@@ -7,4 +7,10 @@ export default defineConfig({
|
||||
clean: true,
|
||||
external: ['#app'],
|
||||
dts: true,
|
||||
// @ts-expect-error: Missing type
|
||||
outExtension({ format }) {
|
||||
return {
|
||||
js: format === 'esm' ? '.mjs' : `.${format}`,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user