Skip to content

Commit

Permalink
Add details about shared cache groups inclusion in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xhlulu committed Apr 28, 2021
1 parent 31fcc65 commit 2f8a72d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ to generate the components in the `build:backends` script of the generated
`package.json`.


## Advanced customization

### Shared cache groups for async chunks

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).

## More Resources

- Found a bug or have a feature request? [Create an issue](https://github.com/plotly/dash-component-boilerplate/issues/new)
Expand Down

0 comments on commit 2f8a72d

Please sign in to comment.