Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit d3bca64

Browse files
committed
feat: enable vite optimizeDeps
1 parent 046fde0 commit d3bca64

File tree

5 files changed

+2278
-2731
lines changed

5 files changed

+2278
-2731
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"semantic-release": "semantic-release"
3838
},
3939
"dependencies": {
40-
"@nuxt/kit": "^3.3.1",
40+
"@nuxt/kit": "^3.6.0",
4141
"@types/lodash-es": "^4.17.7",
4242
"lodash-es": "^4.17.21"
4343
},
@@ -47,7 +47,7 @@
4747
"@semantic-release/git": "^10.0.1",
4848
"conventional-changelog-conventionalcommits": "^5.0.0",
4949
"eslint": "latest",
50-
"nuxt": "^3.3.1",
50+
"nuxt": "^3.6.0",
5151
"semantic-release": "^20.1.3"
5252
}
5353
}

playground/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
const text = _toUpper('it works!')
2+
const text = _ToUpper('it works!')
33
</script>
44
<template>
55
<div>{{ text }}</div>

playground/nuxt.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import module from '..'
12
export default defineNuxtConfig({
2-
modules: ['nuxt-lodash'],
3+
modules: [module],
34
lodash: {
45
prefix: '_',
56
prefixSkip: ['string'],

0 commit comments

Comments
 (0)