Skip to content

Commit

Permalink
fix: module build
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Nov 4, 2024
1 parent 26df827 commit 93be758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dist"
],
"scripts": {
"prepack": "nuxt-module-build build",
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
Expand Down
6 changes: 1 addition & 5 deletions packages/module/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ export default defineNuxtModule<ModuleOptions>({
await installModule('@nuxtjs/tailwindcss')

// Installs the `@nuxtjs/color-mode` module.
await installModule('@nuxtjs/color-mode', {
colorMode: {
classSuffix: '',
},
})
await installModule('@nuxtjs/color-mode')

// Manually scan `componentsDir` for components and register them for auto imports
try {
Expand Down

0 comments on commit 93be758

Please sign in to comment.