<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra" -->

---
title: Alpine adds a new build to work with Content Security...
description: Alpine.js has added a new build that works with environments where Content Security Policies are required. This build does not violate the &#x27;unsafe-eval&#x27; policy...
canonical: https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Alpine adds a new build to work with Content Security Policies | daily.dev
og:description: Alpine.js has added a new build that works with environments where Content Security Policies are required. This build does not violate the &#x27;unsafe-eval&#x27; policy...
og:url: https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra
og:image: https://api.daily.dev/og/posts/TEXl5QHra.png
og:image:alt: Alpine adds a new build to work with Content Security Policies
og:image:width: 1200
og:image:height: 630
og:locale: 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>

---

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)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"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","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra"},"datePublished":"2024-01-05T16:24:37.165Z","dateModified":"2024-01-06T13:00:06.834Z","description":"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...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/35afb33c99674506834f0a45ca8491ee?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/35afb33c99674506834f0a45ca8491ee?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Laravel News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Eric L. Barnes","url":"https://daily.dev/ericlbarnes","image":"https://media.daily.dev/image/upload/s--K6f982B3--/f_auto/v1755288662/avatars/avatar_9SjPngRVLKMb8ob1eVrqZ?_a=BAMClqZW0","description":"Founder of Laravel News","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2460}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/alpine-adds-a-new-build-to-work-with-content-security-policies-texl5qhra","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":14},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,alpinejs","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Laravel News","item":"https://daily.dev/sources/ln"},{"@type":"ListItem","position":3,"name":"Alpine adds a new build to work with Content Security Policies"}]}
```

