Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 3e89cdc

Browse files
committed
fix(package.json): npx to node --loader and add ts-node field at 1.2.9
1 parent 5e2b2e5 commit 3e89cdc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typedcssx",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"private": true,
55
"author": "Refirst",
66
"repository": "github:typedcsslab/typedcssx",
@@ -9,7 +9,11 @@
99
"main": "dist/core/index.js",
1010
"typings": "dist/core/index.d.ts",
1111
"scripts": {
12-
"compile": "npx ts-node --esm compiler/src/index.ts"
12+
"compile": "node --loader ts-node/esm compiler/src/index.ts"
13+
},
14+
"ts-node": {
15+
"esm": true,
16+
"experimentalSpecifierResolution": "node"
1317
},
1418
"dependencies": {
1519
"@types/css-modules": "^1.0.5",

0 commit comments

Comments
 (0)