Skip to content

Commit a172364

Browse files
committed
Fix issue with auto.js requiring to be loaded as a module.
1 parent 67ebd9c commit a172364

File tree

4 files changed

+736
-615
lines changed

4 files changed

+736
-615
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/randombits-dev/fontable/issues"
77
},
88
"homepage": "https://github.com/randombits-dev/fontable",
9-
"version": "1.0.0",
9+
"version": "1.0.1",
1010
"type": "module",
1111
"main": "dist/index.js",
1212
"types": "dist/index.d.ts",
@@ -23,16 +23,16 @@
2323
],
2424
"scripts": {
2525
"dev": "vite build --watch",
26-
"build": "tsc && vite build",
26+
"build": "tsc && vite build && vite build -c vite.auto.ts",
2727
"preview": "vite preview"
2828
},
2929
"dependencies": {
3030
"webfontloader": "^1.6.28"
3131
},
3232
"devDependencies": {
33-
"typescript": "^5.3.3",
34-
"vite": "^5.0.11",
35-
"vite-plugin-css-injected-by-js": "^3.3.1",
36-
"vite-plugin-dts": "^3.7.0"
33+
"typescript": "^5.4.5",
34+
"vite": "^5.2.13",
35+
"vite-plugin-css-injected-by-js": "^3.5.1",
36+
"vite-plugin-dts": "^3.9.1"
3737
}
3838
}

0 commit comments

Comments
 (0)