-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
370 additions
and
152 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
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
"author": "Fabien Marie-Louise <[email protected]>", | ||
"type": "module", | ||
"scripts": { | ||
"build": "vinxi build", | ||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vinxi build", | ||
"clean": "rm -rf .solid && rm -rf netlify && rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"dev": "vinxi dev --host", | ||
"start": "vinxi start" | ||
|
@@ -63,7 +63,8 @@ | |
"typescript": "4.9.5", | ||
"unist-util-visit": "5.0.0", | ||
"vite": "5.0.12", | ||
"@vinxi/plugin-mdx": "3.7.1" | ||
"@vinxi/plugin-mdx": "3.7.1", | ||
"cross-env": "7.0.3" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
|
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 |
---|---|---|
|
@@ -65,7 +65,10 @@ | |
"turbo": "1.10.13", | ||
"typescript": "4.9.5", | ||
"vite": "5.0.11", | ||
"vite-plugin-solid": "2.8.0" | ||
"vite-plugin-solid": "2.9.1", | ||
"rollup-plugin-cleanup": "3.2.1", | ||
"rollup-plugin-license": "3.2.0", | ||
"rollup-plugin-copy": "3.5.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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,6 +1,34 @@ | ||
import cleanup from "rollup-plugin-cleanup"; | ||
import copy from "rollup-plugin-copy"; | ||
import license from "rollup-plugin-license"; | ||
import withSolid from "rollup-preset-solid"; | ||
|
||
export default withSolid({ | ||
input: "src/index.tsx", | ||
targets: ["esm", "cjs"], | ||
plugins: [ | ||
cleanup({ | ||
comments: "none", | ||
extensions: ["ts", "tsx"], | ||
}), | ||
license({ | ||
banner: ` | ||
MIT License | ||
Copyright (c) 2022 Fabien Marie-Louise | ||
License can be found in LICENSE.md, | ||
also available at https://github.com/kobaltedev/kobalte/blob/main/LICENSE.md | ||
This codebase contains modified portions of code from multiple sources. | ||
Credits to their original authors. | ||
A list of all sources and licenses can be found in NOTICE.txt, | ||
also available at https://github.com/kobaltedev/kobalte/blob/main/NOTICE.txt | ||
`, | ||
}), | ||
copy({ | ||
targets: [{ src: "../../NOTICE.txt", dest: "." }], | ||
}), | ||
], | ||
}); |
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
Oops, something went wrong.