diff --git a/package.json b/package.json index dd0e66b..5ba89c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@tresjs/nuxt", "type": "module", - "version": "1.1.7", + "version": "1.1.8", "packageManager": "pnpm@8.6.2", "description": "TresJS integration for Nuxt.", "author": "Daniel Roe (https://github.com/danielroe/)", @@ -37,6 +37,7 @@ "@tresjs/cientos": "3.4.1", "@tresjs/core": "3.3.0", "@types/three": "^0.156.0", + "defu": "^6.1.2", "mlly": "^1.4.2", "pkg-types": "^1.0.3", "three": "^0.157.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b26d92..b966b54 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,6 +17,9 @@ dependencies: '@types/three': specifier: ^0.156.0 version: 0.156.0 + defu: + specifier: ^6.1.2 + version: 6.1.2 mlly: specifier: ^1.4.2 version: 1.4.2 diff --git a/src/module.ts b/src/module.ts index 60e521c..677f4ac 100644 --- a/src/module.ts +++ b/src/module.ts @@ -4,7 +4,7 @@ import * as core from '@tresjs/core' import { readPackageJSON } from 'pkg-types' import { findExportNames } from 'mlly' import { templateCompilerOptions } from '@tresjs/core' -import defu from 'defu' +import { defu } from 'defu' export interface ModuleOptions { modules: string[]