Commit 1785dd6
committed
fix: use a module name placeholder for fragments
Because the server gives fragment modules a name on-the-fly (based on the
fragment entry id) we cannot write any name during build time, so instead we
write a placeholder (`__FRAGMENT_MODULE_NAME__`) that the server replaces by the
real name when registering the AMD module in the `NPMRegistry`.1 parent 405de1a commit 1785dd6
File tree
1 file changed
+1
-3
lines changed- packages/liferay-npm-bundler/src/adapt/liferay-fragment
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
| 43 | + | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
0 commit comments