Skip to content

Commit

Permalink
Enable __QUASAR_SSR__ whenever enableSsr is true
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Oct 9, 2023
1 parent e687221 commit 1f5366b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/QuasarUnusedPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class QuasarUnusedPlugin implements WebpackPluginInstance {
const enablePwa = this.#options.enablePwa ?? false
const replacements: Record<string, string | boolean> = {
__QUASAR_VERSION__: quasarJson.version,
__QUASAR_SSR__: enableSsr && isServerBuild,
__QUASAR_SSR__: enableSsr,
__QUASAR_SSR_SERVER__: enableSsr && isServerBuild,
__QUASAR_SSR_CLIENT__: enableSsr && !isServerBuild,
__QUASAR_SSR_PWA__: enableSsr && enablePwa,
Expand Down

0 comments on commit 1f5366b

Please sign in to comment.