Skip to content

Commit

Permalink
chore(linting): remove unused parameters (nuxt-modules#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed May 16, 2023
1 parent 81a3b78 commit 3d80d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module.ts
Expand Up @@ -336,7 +336,7 @@ export default defineNuxtModule<NuxtI18nOptions>({
// nitro.bundledStorage.push(storageKey)
})

nuxt.hook('nitro:init', async nitro => {
nuxt.hook('nitro:init', async () => {
// remove i18n storage for refresh
if (nuxt.options.dev) {
await rm(resolve(nuxt.options.buildDir, storageKey))
Expand Down
2 changes: 1 addition & 1 deletion src/transform/dynamic.ts
Expand Up @@ -87,7 +87,7 @@ export const ResourceDynamicPlugin = createUnplugin((options: ResourceDynamicPlu
},

vite: {
generateBundle(outputOptions) {
generateBundle() {
// console.log('generateBundle: outputOptions', outputOptions)
const resources = [...resoucesMap].reduce((obj, [hash, { type, locale, ref }]) => {
obj[hash] = { type, locale, path: this.getFileName(ref) }
Expand Down

0 comments on commit 3d80d3e

Please sign in to comment.