Skip to content

Commit

Permalink
fix(module): update optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Jul 2, 2024
1 parent e5fc73a commit 5122215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/optimization.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export function optimizeSSR({ optimizeSSR }, nuxt) {
...(typeof optimizeSSR === 'boolean' ? {} : optimizeSSR)
};

nuxt.options.experimental.inlineSSRStyles = false;
if (options.inlineStyles) {
nuxt.options.experimental.inlineSSRStyles = false;
}

if (isViteBuild(nuxt)) {
nuxt.options.vite.build.manifest = false;
Expand Down

0 comments on commit 5122215

Please sign in to comment.