chore: prettier
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
import { defineNuxtConfig } from 'nuxt/config'
|
||||
import federation from '@originjs/vite-plugin-federation'
|
||||
import { defineNuxtConfig } from "nuxt/config"
|
||||
import federation from "@originjs/vite-plugin-federation"
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-04-03',
|
||||
compatibilityDate: "2024-04-03",
|
||||
devtools: { enabled: false },
|
||||
ssr: false,
|
||||
vite: {
|
||||
plugins: [
|
||||
federation({
|
||||
name: 'remote-app',
|
||||
filename: 'remoteEntry.js',
|
||||
name: "remote-app",
|
||||
filename: "remoteEntry.js",
|
||||
exposes: {
|
||||
'./RemoteComponent': './components/RemoteComponent.vue'
|
||||
"./RemoteComponent": "./components/RemoteComponent.vue"
|
||||
},
|
||||
shared: []
|
||||
// shared: ['vue']
|
||||
})
|
||||
],
|
||||
build: {
|
||||
target: 'esnext'
|
||||
target: "esnext"
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user