Skip to content

Commit

Permalink
extract css
Browse files Browse the repository at this point in the history
  • Loading branch information
khanzadimahdi committed Apr 29, 2024
1 parent 5b0d233 commit 96b56a2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
webpack: {
extractCSS: true,
optimization: {
splitChunks: {
cacheGroups: {
styles: {
name: 'styles',
test: /\.(css|vue)$/,
chunks: 'all',
enforce: true
}
}
}
}
},
modules: ['@vueuse/nuxt', "nuxt-tiptap-editor"],
runtimeConfig: {
internalApiBaseUrl: '',
Expand Down

0 comments on commit 96b56a2

Please sign in to comment.