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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user