Skip to content

Commit

Permalink
Update CSP documentation to clarify availability of the CSP build (#2619
Browse files Browse the repository at this point in the history
)

* Update CSP documentation to clarify availability

See recent requests in #237 and #1944

* Fix typo
  • Loading branch information
thibaudcolas committed Jan 28, 2023
1 parent c42dfda commit e69b8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/en/advanced/csp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e69b8b5

Please sign in to comment.