Skip to content

Instantly share code, notes, and snippets.

@cwardzala
Created June 11, 2018 19:02
Show Gist options
  • Save cwardzala/18706be7e9953c4707269aab8750cbcc to your computer and use it in GitHub Desktop.
Save cwardzala/18706be7e9953c4707269aab8750cbcc to your computer and use it in GitHub Desktop.
Parcel HTML test
{
"xmlMode": true,
"lowerCaseAttributeNames": false
}
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Parcel HTML test</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
</head>
<body>
<svg class="bug" fill="currentColor" width="1em" height="1em" viewbox="0 0 360 512" xmlns="http://www.w3.org/2000/svg">
<path d="M340 219.3L64.7 10.3C55.8 3.5 46.4 0 36.9 0 19.5 0 .8 12.6.8 40.2v431.6c0 27.6 18.7 40.2 36.1 40.2 9.5 0 18.8-3.4 27.8-10.2L340 292.6c12.2-9.2 19.2-22.6 19.2-36.6 0-14.1-7-27.4-19.2-36.7"/>
</svg>
</body>
</html>
{
"dependencies": {},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"htmlnano": "^0.1.9",
"parcel": "^1.8.1",
"postcss-browser-reporter": "^0.5.0",
"postcss-css-variables": "^0.8.1",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
"postcss-modules": "^1.1.0",
"postcss-reporter": "^5.0.0",
"postcss-url": "^7.3.2",
"posthtml": "^0.11.3",
"posthtml-parser": "^0.4.1"
},
"scripts": {
"build": "rm -rf dist && parcel build index.html",
"start": "parcel index.html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment