Skip to content

Commit 2f8a72d

Browse files
author
xhlulu
committed
Add details about shared cache groups inclusion in readme
1 parent 31fcc65 commit 2f8a72d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ to generate the components in the `build:backends` script of the generated
4141
`package.json`.
4242
4343
44+
## Advanced customization
45+
46+
### Shared cache groups for async chunks
47+
48+
Shared async chunks for code that repeats across multiple async chunks is already supported through our custom `webpack.config.js` optimizations. You can leverage it by manually the path of `{{cookiecutter.project_shortname}}-shared.js` to `_js_dist` inside `{{cookiecutter.project_shortname}}/__init__.py` (as well as the associated external URL).
49+
4450
## More Resources
4551
4652
- Found a bug or have a feature request? [Create an issue](https://github.com/plotly/dash-component-boilerplate/issues/new)

0 commit comments

Comments
 (0)