Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 602 Bytes

chunks_js.md

File metadata and controls

26 lines (23 loc) · 602 Bytes


Chunks shared between entrypoints are deduplicated. Here, app1 and app2 share app.chunk.1.js.
{% include test/case.md test="asset_map/chunks_js" test_case_name="chunks_js_include" entrypoints="app1,app2" %}

Missing entrypoints cause an error {% include test/case.md test="asset_map/chunks_js" test_case_name="chunks_js_include_missing" entrypoints="missing,app2" %}

You can even mix css and js chunks in your entrypoints array.
{% include test/case.md test="asset_map/chunks_js" test_case_name="chunks_js_mixed" entrypoints="app3,app2" %}