Skip to content

Commit

Permalink
chore(library-builder): typo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem committed Jul 12, 2023
1 parent f020b64 commit 1d15df4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/library-builder/src/nuxt/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { findExports } from 'mlly';
import { buildVite } from '../builder/build-vite';
import { nuxtRuntimeDirViteConfig } from './runtime-builder';
import { readPackage } from '../utils/read-package';
import { buildModule } from './module.builder';
import { buildModule } from './module-builder';

export async function buildNuxtModule(options: {
cwd: string,
Expand Down
7 changes: 3 additions & 4 deletions packages/library-builder/src/vite/config-fabric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export const createViteConfig = (options: {
outDir: string,
entry: string,
name?: string,
plugins?: {
componentVBindFix?: boolean,
}
}) => {
const { cwd, format, entry, outDir } = options

Expand Down Expand Up @@ -116,7 +113,9 @@ export const createViteConfig = (options: {
}
config.plugins.push(removeSideEffectedChunks())
config.plugins.push(removeEmptyFiles())
// if (options.plugins?.componentVBindFix || true) { config.plugins.push(componentVBindFix()) }
config.plugins.push(componentVBindFix({
sourcemap: true,
}))
}

return config
Expand Down

0 comments on commit 1d15df4

Please sign in to comment.