Skip to content

Commit 93be758

Browse files
committedNov 4, 2024·
fix: module build
1 parent 26df827 commit 93be758

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
 

‎packages/module/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"dist"
2626
],
2727
"scripts": {
28-
"prepack": "nuxt-module-build build",
28+
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
2929
"dev": "nuxi dev playground",
3030
"dev:build": "nuxi build playground",
3131
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",

‎packages/module/src/module.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ export default defineNuxtModule<ModuleOptions>({
6363
await installModule('@nuxtjs/tailwindcss')
6464

6565
// Installs the `@nuxtjs/color-mode` module.
66-
await installModule('@nuxtjs/color-mode', {
67-
colorMode: {
68-
classSuffix: '',
69-
},
70-
})
66+
await installModule('@nuxtjs/color-mode')
7167

7268
// Manually scan `componentsDir` for components and register them for auto imports
7369
try {

0 commit comments

Comments
 (0)
Please sign in to comment.