Convert demo from using ts-loader to babel-loader for transpiling JavaScript for web browsers (adds support for .cjs, see https://github.com/TypeStrong/ts-loader/pull/1503).

This commit is contained in:
David Anson 2023-01-17 04:19:40 +00:00
parent fc2ed221ff
commit ed854f7092
4 changed files with 4803 additions and 3617 deletions

View file

@ -67,6 +67,9 @@
},
"devDependencies": {
"ava": "5.2.0",
"babel-loader": "9.1.2",
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"c8": "7.13.0",
"eslint": "8.34.0",
"eslint-plugin-es": "4.1.0",
@ -87,7 +90,6 @@
"strip-json-comments": "5.0.0",
"terser-webpack-plugin": "5.3.6",
"toml": "3.0.0",
"ts-loader": "9.4.2",
"tv4": "1.3.0",
"typescript": "4.9.5",
"webpack": "5.75.0",