Skip to content

Commit 83ff1fe

Browse files
Bump nuxt from 3.15.3 to 3.16.0 (#57)
* Bump nuxt from 3.15.3 to 3.16.0 Bumps [nuxt](https://github.com./nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.15.3 to 3.16.0. - [Release notes](https://github.com./nuxt/nuxt/releases) - [Commits](https://github.com./nuxt/nuxt/commits/v3.16.0/packages/nuxt) --- updated-dependencies: - dependency-name: nuxt dependency-version: 3.16.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Try to update @nuxt/kit as well * Add @nuxt/schema to dev deps * Update @nuxtjs/i18n * Change i18n.config.ts path * Change i18n.config.ts path * Move i18n.config.ts * Move i18n.config.ts back * Disable soon-to-be-deprecated nuxt-i18n feature --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com.> Co-authored-by: NOT_A_ROBOT <[email protected]>
1 parent 71d2af9 commit 83ff1fe

File tree

3 files changed

+1819
-2409
lines changed

3 files changed

+1819
-2409
lines changed

nuxt.config.ts

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
if(!process.env.SUPABASE_URL || !process.env.SUPABASE_ANON_KEY) {
1+
if (!process.env.SUPABASE_URL || !process.env.SUPABASE_ANON_KEY)
2+
{
23
throw new Error(
3-
`Could not find Supabase URL or key in environment variables.
4+
`Could not find Supabase URL or key in environment variables.
45
Are you sure you set it up right?
56
Tip: Check your .env file and refer to the README.
67
Environment variable keys:
@@ -44,8 +45,8 @@ export default defineNuxtConfig({
4445
}
4546
],
4647
noscript: [{
47-
children:
48-
`<style>
48+
children:
49+
`<style>
4950
.hide-noscript {display: none}
5051
.hide-noscript-important {display: none !important}
5152
.invis-noscript {visibility: hidden}
@@ -61,12 +62,15 @@ export default defineNuxtConfig({
6162
modules: ['@nuxtjs/i18n'],
6263

6364
i18n: {
64-
vueI18n: './i18n.config.ts',
65+
vueI18n: '../i18n.config.ts',
6566
locales: ['en', 'id'],
6667
defaultLocale: 'en',
6768
detectBrowserLanguage: {
6869
useCookie: false
6970
},
71+
bundle: {
72+
optimizeTranslationDirective: false,
73+
},
7074
},
7175

7276
$production: {

0 commit comments

Comments
 (0)