Skip to content

Commit 5c2cf86

Browse files
committed
Fix comparison test
1 parent b3a700a commit 5c2cf86

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib
106106
/***/ (function(module, __webpack_exports__, __webpack_require__) {
107107

108108
"use strict";
109-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
109+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
110110

111111
/***/ })
112112

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Asset Size Chunks Chunk Names
2-
bundle.js 4.65 KiB main [emitted] main
2+
bundle.js 4.69 KiB main [emitted] main
33
Entrypoint main = bundle.js
44
[./app.ts] 81 bytes {main} [built]
5-
[./lib/src/index.ts] 61 bytes {main} [built]
5+
[./lib/src/index.ts] 94 bytes {main} [built] [1 warning]
6+
7+
WARNING in ./lib/src/index.ts
8+
Module Warning (from /index.js):
9+
Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files.
10+
@ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33

0 commit comments

Comments
 (0)