1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Authorize onboarding (#1603)

* Tweak onboarding + authorize

* Authorize/Onboarding pimp

* More tweaks

* Comments
This commit is contained in:
Paulus Schoutsen
2018-08-27 22:10:15 +02:00
committed by GitHub
parent 772208ba22
commit f443942e03
17 changed files with 514 additions and 241 deletions

View File

@@ -17,12 +17,11 @@ const VERSION = version[0];
const generateJSPage = (entrypoint, latestBuild) => {
return new HtmlWebpackPlugin({
inject: false,
template: './src/html/extra_page.html.template',
template: `./src/html/${entrypoint}.html.template`,
// Default templateParameterGenerator code
// https://github.com/jantimon/html-webpack-plugin/blob/master/index.js#L719
templateParameters: (compilation, assets, option) => ({
latestBuild,
tag: `ha-${entrypoint}`,
compatibility: assets.chunks.compatibility.entry,
entrypoint: assets.chunks[entrypoint].entry,
hassIconsJS: assets.chunks['hass-icons'].entry,