feat: start work on automated hash insert into ftl

This commit is contained in:
Benjamin Bädorf 2023-12-15 23:02:21 +01:00
parent 886bdbaaad
commit 6a5ac71f83
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346
3 changed files with 6 additions and 2 deletions

View file

@ -10,6 +10,7 @@
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'", "test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'", "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
"build-only": "vite build", "build-only": "vite build",
"rewrite-theme-properties": "./scripts/rewrite-theme-properties.sh",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/" "format": "prettier --write src/"

View file

@ -63,8 +63,8 @@
</#list> </#list>
</script> </script>
<script type="module" crossorigin src="${resourceUrl}/assets/index-f6484dd5.js"></script> <script type="module" crossorigin src="${resourceUrl}/assets/index-${js_index_hash}></script>
<link rel="stylesheet" href="${resourceUrl}/assets/index-9c371cad.css"> <link rel="stylesheet" href="${resourceUrl}/assets/index-${css_index_hash}.css">
</head> </head>
<body> <body>

View file

@ -2,3 +2,6 @@ parent=keycloak.v2
import=common/pub.solar import=common/pub.solar
styles= styles=
js_index_hash=
css_index_hash=