Skip to content

Commit

Permalink
more flailing
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Oct 27, 2023
1 parent bb8a2d7 commit ce519ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"compile": "tsc --build",
"watch": "tsc --build --watch",
"webpack": "pnpm compile && webpack --config ./src/webpack.config.ts",
"webpack": "pnpm compile && webpack --config ./src/webpack.config.cts",
"build": "pnpm build:prod",
"build:dev": "pnpm webpack --mode=development",
"build:prod": "pnpm webpack --mode=production --node-env=production",
Expand Down
9 changes: 6 additions & 3 deletions packages/cheatsheet-local/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "NodeNext"
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true
}
},
"references": [
Expand All @@ -27,6 +29,7 @@
"src/**/*.ts",
"src/**/*.json",
"src/**/*.tsx",
"../../typings/**/*.d.ts"
"../../typings/**/*.d.ts",
"src/webpack.config.cts"
]
}

0 comments on commit ce519ae

Please sign in to comment.