Greenwood is your full-stack workbench for the web, focused on supporting modern web standards and development to help you create your next project.
94
stars
9
forks
source link
`<script>` tags of type `application/json` are breaking production builds #1230
Closed
thescientist13 closed 1 month ago
Summary
This was brought up in Slack, in that if you add a script tag of
type="application/json"
it will cause a build failure for Rollup / acorn, and was able to reproduce in one of the basic Greenwood test cases
Details
Irony is, this is actually solved on the
v0.30.0-alpha.0
line but I snuck it into https://github.com/ProjectEvergreen/greenwood/commit/82460ea4f83a11810e24971d3008ab50f9dd3925#diff-1db487262eefc65529b67d5d3b1b1c040f9f0cb880d281965d61b11c5acaba4b (I got greedy and should have really made it its own bug) but since that release line is still a WIP with a couple heavy breaking changes, I think we should backport it. (and I didn't write any test cases, shame on me đŸ˜ )