diff --git a/packages/cheatsheet-local/package.json b/packages/cheatsheet-local/package.json index d8cad09f82..e2bb90109d 100644 --- a/packages/cheatsheet-local/package.json +++ b/packages/cheatsheet-local/package.json @@ -7,7 +7,7 @@ "scripts": { "compile": "tsc --build", "watch": "tsc --build --watch", - "webpack": "pnpm compile && webpack --config ./src/webpack.config.cts", + "webpack": "pnpm compile && webpack --config ./src/webpack.config.ts", "build": "pnpm build:prod", "build:dev": "pnpm webpack --mode=development", "build:prod": "pnpm webpack --mode=production --node-env=production", @@ -47,7 +47,7 @@ "tailwindcss": "3.2.7", "ts-loader": "9.4.2", "ts-node": "10.9.1", - "typescript": "^5.2.2", + "typescript": "^5.1.6", "webpack": "5.88.2", "webpack-cli": "5.1.4", "webpack-dev-server": "4.11.1" diff --git a/packages/cheatsheet-local/src/webpack.config.cts b/packages/cheatsheet-local/src/webpack.config.ts similarity index 100% rename from packages/cheatsheet-local/src/webpack.config.cts rename to packages/cheatsheet-local/src/webpack.config.ts diff --git a/packages/cheatsheet-local/tsconfig.json b/packages/cheatsheet-local/tsconfig.json index e3602673a0..13cfd8ae88 100644 --- a/packages/cheatsheet-local/tsconfig.json +++ b/packages/cheatsheet-local/tsconfig.json @@ -8,16 +8,13 @@ "allowSyntheticDefaultImports": true, "skipLibCheck": true, "esModuleInterop": true, - "module": "ESNext", "target": "es5", "allowJs": true }, "ts-node": { "compilerOptions": { "module": "NodeNext", - "moduleResolution": "NodeNext", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true + "moduleResolution": "NodeNext" } }, "references": [