Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update testpack to TS 5.0 #1601

Closed
wants to merge 13 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
feat: update snapshots
johnnyreilly committed Mar 23, 2023
commit e35c14c351022947d5f2b063b136ceb3a25044ea
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 2.6 KiB [emitted] (name: main)
./app.ts 120 bytes [built] [code generated] [2 errors]
asset bundle.js 2.64 KiB [emitted] (name: main)
./app.ts 156 bytes [built] [code generated] [2 errors]
./common/components/myComponent.ts 46 bytes [built] [code generated]

ERROR in app.ts
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 2.6 KiB [emitted] (name: main)
cached modules 120 bytes [cached] 1 module
asset bundle.js 2.64 KiB [emitted] (name: main)
cached modules 156 bytes [cached] 1 module
./common/components/myComponent.ts 45 bytes [built] [code generated]

ERROR in app.ts
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\***********************/
/***/ ((__unused_webpack_module, exports) => {

eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?");

/***/ }),

@@ -26,7 +26,7 @@ eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function
\*******************/
/***/ ((__unused_webpack_module, exports) => {

eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?");

/***/ }),

@@ -36,7 +36,7 @@ eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMetho
\*******************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1.default },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?");

/***/ })

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 3.27 KiB [emitted] (name: main)
./index.vue 352 bytes [built] [code generated]
./component.vue 154 bytes [built] [code generated]
./helper.ts 154 bytes [built] [code generated]
asset bundle.js 3.38 KiB [emitted] (name: main)
./index.vue 382 bytes [built] [code generated]
./component.vue 187 bytes [built] [code generated]
./helper.ts 190 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\***********************/
/***/ ((__unused_webpack_module, exports) => {

eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");

/***/ }),

@@ -26,7 +26,7 @@ eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n
\*******************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1.default);\n\n\n//# sourceURL=webpack:///./entry2.ts?");

/***/ })

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
asset bundle.entry2.js 2.58 KiB [emitted] (name: entry2)
asset bundle.entry2.js 2.66 KiB [emitted] (name: entry2)
asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1)
./entry1.ts 23 bytes [built] [code generated]
./entry2.ts 132 bytes [built] [code generated]
./component.vue 76 bytes [built] [code generated]
./entry2.ts 165 bytes [built] [code generated]
./component.vue 109 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\***********************/
/***/ ((__unused_webpack_module, exports) => {

eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");

/***/ }),

@@ -26,7 +26,7 @@ eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n
\*******************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1.default);\n\n\n//# sourceURL=webpack:///./entry2.ts?");

/***/ })

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
assets by status 2.58 KiB [cached] 1 asset
assets by status 2.66 KiB [cached] 1 asset
asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1)
cached modules 208 bytes [cached] 2 modules
cached modules 274 bytes [cached] 2 modules
./entry1.ts 27 bytes [built] [code generated]
webpack compiled successfully
2 changes: 1 addition & 1 deletion test/comparison-tests/basic/expectedOutput-5.0/bundle.js
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";
eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

4 changes: 2 additions & 2 deletions test/comparison-tests/basic/expectedOutput-5.0/output.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 3.11 KiB [emitted] (name: main)
./app.ts 169 bytes [built] [code generated]
asset bundle.js 3.15 KiB [emitted] (name: main)
./app.ts 205 bytes [built] [code generated]
./submodule/submodule.ts 149 bytes [built] [code generated]
./lib/externalLib.js 55 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";
eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
asset bundle.js 3.11 KiB [emitted] (name: main)
asset bundle.js 3.15 KiB [emitted] (name: main)
cached modules 204 bytes [cached] 2 modules
./app.ts 170 bytes [built] [code generated] [1 error]
./app.ts 206 bytes [built] [code generated] [1 error]

ERROR in app.ts
./app.ts 3:12-24
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";
eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asset bundle.js 3.11 KiB [emitted] (name: main)
asset bundle.js 3.15 KiB [emitted] (name: main)
cached modules 204 bytes [cached] 2 modules
./app.ts 169 bytes [built] [code generated]
./app.ts 205 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?");
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__))['catch'](__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__))['catch'](__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
asset bundle.js 11.9 KiB [emitted] (name: main)
asset c_ts-d_ts.bundle.js 1020 bytes [emitted]
runtime modules 6.01 KiB 7 modules
cacheable modules 733 bytes
./app.ts 589 bytes [built] [code generated]
cacheable modules 769 bytes
./app.ts 625 bytes [built] [code generated]
./a.ts 36 bytes [built] [code generated]
./b.ts 36 bytes [built] [code generated]
./c.ts 36 bytes [built] [code generated]
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports) => {

eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ })

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
asset bundle.js 1.46 KiB [emitted] (name: main)
./app.ts 312 bytes [built] [code generated]
asset bundle.js 1.5 KiB [emitted] (name: main)
./app.ts 348 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asset bundle.js 2.45 KiB [emitted] (name: main)
./app.ts 108 bytes [built] [code generated]
asset bundle.js 2.49 KiB [emitted] (name: main)
./app.ts 144 bytes [built] [code generated]
./dep.ts 59 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 2.45 KiB [emitted] (name: main)
./app.ts 108 bytes [built] [code generated] [1 error]
asset bundle.js 2.49 KiB [emitted] (name: main)
./app.ts 144 bytes [built] [code generated] [1 error]
./dep.ts 59 bytes [built] [code generated] [1 error]

ERROR in app.ts
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asset bundle.js 2.45 KiB [emitted] (name: main)
./app.ts 108 bytes [built] [code generated]
asset bundle.js 2.49 KiB [emitted] (name: main)
./app.ts 144 bytes [built] [code generated]
./dep.ts 59 bytes [built] [code generated]
webpack compiled successfully
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 2.75 KiB [emitted] (name: main)
./app.ts 121 bytes [built] [code generated] [2 errors]
asset bundle.js 2.79 KiB [emitted] (name: main)
./app.ts 157 bytes [built] [code generated] [2 errors]
./dep1.ts 76 bytes [built] [code generated]
./dep2.ts 76 bytes [built] [code generated]

Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
asset bundle.js 2.75 KiB [emitted] (name: main)
asset bundle.js 2.79 KiB [emitted] (name: main)
cached modules 76 bytes [cached] 1 module
./app.ts 121 bytes [built] [code generated] [1 error]
./app.ts 157 bytes [built] [code generated] [1 error]
./dep1.ts 76 bytes [built] [code generated]

ERROR in app.ts
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
\****************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");

/***/ }),

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asset bundle.js 2.6 KiB [emitted] (name: main)
./app.ts 120 bytes [built] [code generated] [2 errors]
asset bundle.js 2.64 KiB [emitted] (name: main)
./app.ts 156 bytes [built] [code generated] [2 errors]
./common/components/myComponent.ts 46 bytes [built] [code generated]

ERROR in app.ts
8 changes: 7 additions & 1 deletion test/comparison-tests/es3/expectedOutput-5.0/output.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
asset bundle.js 1.17 KiB [emitted] (name: main)
./app.ts 29 bytes [built] [code generated] [1 error]

ERROR in tsconfig.json
tsconfig.json
[tsl] ERROR
 TS5107: Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
ts-loader-default_609318b4f68865d3

ERROR in app.ts
./app.ts 1:6-7
[tsl] ERROR in app.ts(1,7)
 TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
ts-loader-default_609318b4f68865d3

webpack compiled with 1 error
webpack compiled with 2 errors
Loading