Commit 09305db
chore: add module concatenation hint (#2503)
Allow Webpack to process this file as an ES Module, which allows
concatenating using ModuleConcatenationPlugin, resulting in a slightly
smaller bundle and removes the overhead of a runtime `require()`.
The export default null will get optimized away during tree-shaking.1 parent c46d9cf commit 09305db
File tree
1 file changed
+3
-0
lines changed- packages/@vue/cli-service/lib/commands/build
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments