Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(library-builder): builder #3609

Draft
wants to merge 26 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d195f17
feat(library-builder): init builder
m0ksem Jul 11, 2023
b49d3f8
feat(library-builder): web-components
m0ksem Jul 11, 2023
d2a3f19
feat(library-builder): types and css build
m0ksem Jul 11, 2023
d5c1e88
feat(library-builder): add package.json exports
m0ksem Jul 11, 2023
c48c5f0
feat(library-builder): init build CLI
m0ksem Jul 11, 2023
84d1f0f
feat(library-builder): pretty stdio
m0ksem Jul 11, 2023
b9ee65b
raw
m0ksem Jul 11, 2023
9970779
feat(library-builder): nuxt module builder
m0ksem Jul 11, 2023
d8f69f9
feat(library-builder): add nuxtDir argument
m0ksem Jul 11, 2023
f020b64
feat(library-builder): nuxt module builder with runtime dir
m0ksem Jul 12, 2023
1d15df4
chore(library-builder): typo changes
m0ksem Jul 12, 2023
be49322
chore(library-builder): update readme
m0ksem Jul 12, 2023
ca1b8eb
chore: use library builder in ui package
m0ksem Jul 12, 2023
c301693
fix(library-builder): correct vuestic build
m0ksem Jul 14, 2023
2ffb480
feat(library-builder): check if nuxt and styles exists
m0ksem Jul 21, 2023
b86f330
feat(library-builder): resolve exports
m0ksem Jul 21, 2023
909fa87
feat(library-builder): meta builder
m0ksem Jul 24, 2023
927f03d
fix: correct external handling in vite builds
m0ksem Aug 9, 2023
6d8500a
chore: rename bin command
m0ksem Aug 9, 2023
166173d
chore: added build args
m0ksem Aug 9, 2023
d0ab1f3
fix: build target even if there is no argument
m0ksem Aug 9, 2023
0f6842c
chore: added prepack command
m0ksem Aug 9, 2023
5c88dcb
chore: alpha1
m0ksem Aug 9, 2023
1b86812
chore: alpha release
m0ksem Sep 5, 2023
17a7646
fix: suppress extra warnings
m0ksem Nov 7, 2023
81f338a
feat(library-builder): add lodash vite plugin
pogrib0k Nov 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(library-builder): typo changes
  • Loading branch information
m0ksem committed Jul 12, 2023
commit 1d15df4e059d035280bb8a8a2e0b6409393f7b66
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