From d726a7b8a8be744c9b7839747edbd1e8fd1f35db Mon Sep 17 00:00:00 2001 From: Leon van der Velde Date: Tue, 26 Mar 2024 11:09:11 +0100 Subject: [PATCH] Update README and CHANGELOG --- CHANGELOG.md | 5 ++--- README.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8134a8ff..50ad96e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,8 @@ Changes since the last non-beta release. - Enable `ensure_consistent_versioning` by default [PR 447](https://github.com/shakacode/shakapacker/pull/447) by [G-Rath](https://github.com/g-rath). +- Asset files put in `additional_paths` will have their path stripped just like with the `source_path`. [PR 403](https://github.com/shakacode/shakapacker/pull/403) by [paypro-leon](https://github.com/paypro-leon). + ### Added - Emit warnings instead of errors when compilation is success but stderr is not empty. [PR 416](https://github.com/shakacode/shakapacker/pull/416) by [n-rodriguez](https://github.com/n-rodriguez). - Allow `webpack-dev-server` v5. [PR 418](https://github.com/shakacode/shakapacker/pull/418) by [G-Rath](https://github.com/g-rath) @@ -51,9 +53,6 @@ Changes since the last non-beta release. ### Added - Allow `compression-webpack-plugin` v11. [PR 406](https://github.com/shakacode/shakapacker/pull/406) by [tagliala](https://github.com/tagliala). -### Added -- Opt-in support for stripping `additional_paths` from the asset paths just like with the `source_path`. This will be the default behavior in version 8. [PR 403](https://github.com/shakacode/shakapacker/pull/403) by [paypro-leon](https://github.com/paypro-leon). - ## [v7.2.1] - December 30, 2023 ### Fixed diff --git a/README.md b/README.md index a4a463e4..3f7eb11a 100644 --- a/README.md +++ b/README.md @@ -899,7 +899,7 @@ import 'stylesheets/main' import 'images/rails.png' ``` -There is experimental support for stripping these paths from the asset paths by setting the env variable `SHAKAPACKER_STRIP_ADDITIONAL_PATHS=true`. In Shakapacker version 8 this will be the default behavior. +Assets put in these folders will also have their path stripped just like with the `source_path`. Example: