mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +03:00
Merge branch 'master' into backend-tasks
This commit is contained in:
commit
6cff8a7000
@ -1,5 +1,9 @@
|
||||
# 3.0 Upgrade Notes
|
||||
|
||||
## elm.json
|
||||
|
||||
- Add dependency `"lamdera/codecs": "1.0.0"`
|
||||
|
||||
## File Structure
|
||||
|
||||
- `rm -rf .elm-pages`
|
||||
|
2
examples/escaping/dist/escaping/index.html
vendored
2
examples/escaping/dist/escaping/index.html
vendored
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title></title>
|
||||
<link rel="modulepreload" crossorigin href="/elm.HASH.js"><link rel="modulepreload" crossorigin href="/assets/index.HASH.js"><link rel="preload" href="/assets/index.HASH.css" as="style">
|
||||
<link rel="modulepreload" crossorigin href="/elm.HASH.js"><link rel="preload" href="/assets/index.HASH.css" as="style"><link rel="modulepreload" crossorigin href="/assets/index.HASH.js">
|
||||
<script defer src="/elm.HASH.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"start": "elm-pages dev",
|
||||
"test": "elm-pages build --debug && npm run clean-diff && elm-pages build && npm run clean-diff",
|
||||
"clean-diff": "sed -E -i.bak 's/\\.[a-f0-9]{8}\\.([a-z]{2,4})/.HASH.\\1/gi' ./dist/escaping/index.html && sed -i.bak 's/<meta name=\"generator\".*$//gi' ./dist/escaping/index.html && git diff --exit-code ./dist",
|
||||
"clean-diff": "sed -E -i.bak 's/[.-][a-f0-9]{8}([.-][a-z]{2,4})/.HASH\\1/gi' ./dist/escaping/index.html && sed -i.bak 's/<meta name=\"generator\".*$//gi' ./dist/escaping/index.html && git diff --exit-code ./dist",
|
||||
"build": "elm-pages build"
|
||||
},
|
||||
"author": "Dillon Kearns",
|
||||
@ -15,4 +15,4 @@
|
||||
"elm-review": "^2.7.1",
|
||||
"elm-tooling": "^1.3.0"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user