Skip to content

Commit

Permalink
fix: fix non respect of standard .mjs file name and upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetansenn committed Apr 4, 2024
1 parent 381bef8 commit df0e2fb
Show file tree
Hide file tree
Showing 3 changed files with 3,485 additions and 1,142 deletions.
18 changes: 9 additions & 9 deletions package.json
Expand Up @@ -26,17 +26,17 @@
"lint": "eslint ."
},
"dependencies": {
"@nuxt/kit": "^3.6.3",
"vue3-carousel": "^0.3.1"
"@nuxt/kit": "^3.11.0",
"vue3-carousel": "^0.3.3"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/eslint-config": "^0.1.1",
"@nuxt/module-builder": "^0.4.0",
"@nuxt/schema": "^3.6.3",
"@types/node": "^18.16.19",
"changelogen": "^0.5.4",
"eslint": "^8.45.0",
"nuxt": "^3.6.3"
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.11.1",
"@types/node": "^20.11.28",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
"nuxt": "^3.11.1"
}
}
4 changes: 4 additions & 0 deletions src/module.ts
Expand Up @@ -24,6 +24,10 @@ export default defineNuxtModule<CarouselOptions>({

// Add slider css
nuxt.options.css.push('vue3-carousel/dist/carousel.css')
nuxt.options.alias = {
...nuxt.options.alias,
'vue3-carousel/dist/carousel': 'vue3-carousel/dist/carousel.es.js',
}
}
})

Expand Down

0 comments on commit df0e2fb

Please sign in to comment.