mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
9 lines
347 B
TypeScript
9 lines
347 B
TypeScript
|
import { defineNuxtModule } from 'nuxt/kit'
|
||
|
|
||
|
export default defineNuxtModule(
|
||
|
function (_, nuxt) {
|
||
|
nuxt.options.optimization.treeShake.composables.server[nuxt.options.rootDir] = ['useClientOnlyComposable', 'setTitleToPink']
|
||
|
nuxt.options.optimization.treeShake.composables.client[nuxt.options.rootDir] = ['useServerOnlyComposable']
|
||
|
}
|
||
|
)
|