Skip to content

Instantly share code, notes, and snippets.

@mogelbrod
Created March 27, 2021 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mogelbrod/c250d5424dec8368d9f98c3072f6c4d6 to your computer and use it in GitHub Desktop.
Save mogelbrod/c250d5424dec8368d9f98c3072f6c4d6 to your computer and use it in GitHub Desktop.
[Parcel v2 & autoprefixer] reproduction of failing builds
{
"modules": true,
"plugins": {
"autoprefixer": {}
}
}
<!DOCTYPE html>
<html>
<head>
<title>Parcel 2</title>
<style>
body {
animation: test 3s ease-in-out alternate infinite;
}
@keyframes test {
0% { background-color: #aff; }
100% { background-color: #faf; }
}
</style>
</head>
<body>
Hello world
</body>
</html>
{
"name": "test",
"private": true,
"scripts": {
"clean": "rm -rf dist",
"dist": "npm run clean && parcel build index.html --public-url .",
"start": "parcel index.html"
},
"browserslist": [
"defaults"
],
"dependencies": {
"autoprefixer": "^10.2.5",
"parcel": "^2.0.0-beta.2",
"postcss-modules": "^4.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment