---
title: "Alpine adds a new build to work with Content Security Policies"
url: https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra
source_url: https://laravel-news.com/alpinejs-csp
type: article
source: "Laravel News"
author: "Eric L. Barnes"
published: 2024-01-05T16:24:37.165Z
updated: 2024-01-06T13:00:06.834Z
tags: ["javascript", "alpinejs"]
reading_time: 1
upvotes: 14
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Alpine adds a new build to work with Content Security Policies

**[Laravel News](https://daily.dev/sources/ln)** · [@ericlbarnes](https://daily.dev/ericlbarnes) · 1 min read · 14 upvotes · 0 comments

## Summary

Alpine.js has added a new build that works with environments where Content Security Policies are required. This build does not violate the 'unsafe-eval' policy but has a more restrictive syntax. It can be obtained through CDN or npm install.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/alpinejs-csp>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#alpinejs](https://daily.dev/tags/alpinejs)

[View this post on daily.dev](https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra)
