Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilReinking committed Nov 24, 2023
1 parent 69cf3f4 commit fdd89ae
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 16.20.2
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deck9/ui",
"version": "0.13.1",
"version": "0.13.2",
"description": "The UI components used in deck9 software applications.",
"author": "Philipp Reinking <[email protected]> (https://deck9.co)",
"scripts": {
Expand All @@ -15,9 +15,15 @@
"dist",
"tailwind.config.js"
],
"main": "./dist/src/index.umd.js",
"module": "./dist/src/index.es.js",
"main": "./dist/src/ui.umd.js",
"module": "./dist/src/ui.mjs",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"import": "./dist/src/ui.mjs",
"require": "./dist/src/ui.umd.js"
}
},
"dependencies": {
"@deck9/tailwindcss-recursive-font-helper": "^1.0.1",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
Expand Down
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export default defineConfig({
lib: {
entry: "src/index.ts",
name: "ui",
formats: ["es", "umd"],
fileName: (format) => `src/index.${format}.js`,
fileName: "src/ui",
},
rollupOptions: {
external: [
Expand Down

0 comments on commit fdd89ae

Please sign in to comment.