-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6585 from webpack/bugfix/bailout-messages
fix incorrect optimization bailout messages
- Loading branch information
Showing
7 changed files
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import "./concatenated1"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import { x } from "./concatenated2"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { y } from "external"; | ||
export var x = y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
Hash: 2f9dacd48c09c3072b04 | ||
Hash: 123228577e0595ae0a8e | ||
Time: Xms | ||
Built at: Thu Jan 01 1970 00:00:00 GMT | ||
Entrypoint index = index.js | ||
Entrypoint entry = entry.js | ||
[0] ./entry.js 32 bytes {0} {1} [built] | ||
[0] ./entry.js 32 bytes {1} {2} [built] | ||
ModuleConcatenation bailout: Module is an entry point | ||
[1] ./ref-from-cjs.js 45 bytes {0} [built] | ||
[1] ./ref-from-cjs.js 45 bytes {1} [built] | ||
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./cjs.js (referenced with cjs require) | ||
[2] ./index.js 150 bytes {0} [built] | ||
[2] external "external" 42 bytes {1} [built] | ||
ModuleConcatenation bailout: Module is not an ECMAScript module | ||
[3] ./concatenated.js + 2 modules 116 bytes {0} [built] | ||
ModuleConcatenation bailout: Cannot concat with external "external" (<- Module is not an ECMAScript module) | ||
| ./concatenated.js 26 bytes [built] | ||
| ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./index.js (referenced with import()) | ||
| ./concatenated1.js 37 bytes [built] | ||
| ./concatenated2.js 48 bytes [built] | ||
[4] ./index.js 176 bytes {1} [built] | ||
ModuleConcatenation bailout: Module is an entry point | ||
[3] ./cjs.js 59 bytes {0} [built] | ||
[5] ./cjs.js 59 bytes {1} [built] | ||
ModuleConcatenation bailout: Module is not an ECMAScript module | ||
[4] ./eval.js 35 bytes {0} [built] | ||
[6] ./eval.js 35 bytes {1} [built] | ||
ModuleConcatenation bailout: Module uses eval() | ||
[5] ./injected-vars.js 40 bytes {0} [built] | ||
[7] ./injected-vars.js 40 bytes {1} [built] | ||
ModuleConcatenation bailout: Module uses injected variables (__dirname, __filename) | ||
[6] ./module-id.js 26 bytes {0} [built] | ||
[8] ./module-id.js 26 bytes {1} [built] | ||
ModuleConcatenation bailout: Module uses module.id | ||
[7] ./module-loaded.js 30 bytes {0} [built] | ||
[9] ./module-loaded.js 30 bytes {1} [built] | ||
ModuleConcatenation bailout: Module uses module.loaded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters