diff --git a/user_guide_src/source/libraries/publisher.rst b/user_guide_src/source/libraries/publisher.rst index 57abcfcd6925..1cb27b54aa2b 100644 --- a/user_guide_src/source/libraries/publisher.rst +++ b/user_guide_src/source/libraries/publisher.rst @@ -162,6 +162,8 @@ You want to integrate the frontend library "Bootstrap" into your project, but th to keep up with. You can create a publication definition in your project to sync frontend assets by adding extending ``Publisher`` in your project. So **app/Publishers/BootstrapPublisher.php** might look like this:: + addPath('dist') // Indicate we only want the minimized versions - ->retainPattern('*.min.*) + ->retainPattern('*.min.*') // Merge-and-replace to retain the original directory structure ->merge(true);