-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wedges): fix dependencies & styling issues (#38)
- Loading branch information
1 parent
5a5a45e
commit 6f85539
Showing
8 changed files
with
117 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lemonsqueezy/wedges": patch | ||
--- | ||
|
||
fix wrong padding for the Alert component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lemonsqueezy/wedges": patch | ||
--- | ||
|
||
fix missing dependencies in package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
import { defineConfig } from "tsup"; | ||
|
||
export default defineConfig((options) => ({ | ||
entry: ["src/index.ts"], | ||
name: "🍋 wedges", | ||
tsconfig: `tsconfig-${options.format ?? "esm"}.json`, | ||
clean: true, | ||
dts: true, | ||
format: options.format ?? ["esm"], | ||
minify: true, | ||
silent: true, | ||
sourcemap: true, | ||
outDir: `dist/${options.format ?? "esm"}`, | ||
banner: { js: '"use client";' }, | ||
outExtension() { | ||
return { | ||
js: ".js", | ||
dts: ".d.ts", | ||
}; | ||
}, | ||
})); | ||
export default defineConfig((options) => { | ||
// Convert format to string | ||
const formatString = Array.isArray(options.format) | ||
? options.format.join("-") | ||
: options.format ?? "esm"; | ||
|
||
return { | ||
entry: ["src/index.ts"], | ||
name: "🍋 wedges", | ||
tsconfig: `tsconfig-${formatString ?? "esm"}.json`, | ||
clean: true, | ||
dts: true, | ||
format: options.format ?? ["esm"], | ||
minify: true, | ||
silent: true, | ||
sourcemap: true, | ||
outDir: `dist/${formatString ?? "esm"}`, | ||
banner: { js: '"use client";' }, | ||
}; | ||
}); |
Oops, something went wrong.