Browse Source

Update CSP documentation to clarify availability of the CSP build (#2619)

* Update CSP documentation to clarify availability

See recent requests in https://github.com/alpinejs/alpine/issues/237 and https://github.com/alpinejs/alpine/discussions/1944

* Fix typo
Thibaud Colas 2 năm trước cách đây
mục cha
commit
e69b8b5b83
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/docs/src/en/advanced/csp.md

+ 2 - 2
packages/docs/src/en/advanced/csp.md

@@ -9,12 +9,12 @@ In order for Alpine to be able to execute plain strings from HTML attributes as
 
 > Under the hood, Alpine doesn't actually use eval() itself because it's slow and problematic. Instead it uses Function declarations, which are much better, but still violate "unsafe-eval".
 
-In order to accommodate environments where this CSP is necessary, Alpine offers an alternate build that doesn't violate "unsafe-eval", but has a more restrictive syntax.
+In order to accommodate environments where this CSP is necessary, Alpine will offer an alternate build that doesn't violate "unsafe-eval", but has a more restrictive syntax.
 
 <a name="installation"></a>
 ## Installation
 
-Like all Alpine extensions, you can include this either via `<script>` tag or module import:
+The CSP build hasn’t been officially released yet. In the meantime, you may [build it from source](https://github.com/alpinejs/alpine/tree/main/packages/csp). Once released, like all Alpine extensions, you will be able to include this either via `<script>` tag or module import:
 
 <a name="script-tag"></a>
 ### Script tag