Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
id="installCommand"
label="Install command"
bind:value={installCommand}
placeholder={adapterData?.installCommand} />
placeholder={adapterData?.installCommand ||
'Enter install command'} />
<Button
secondary
size="s"
Expand All @@ -109,7 +110,7 @@
id="buildCommand"
label="Build command"
bind:value={buildCommand}
placeholder={adapterData?.buildCommand} />
placeholder={adapterData?.buildCommand || 'Enter build command'} />
<Button
secondary
size="s"
Expand All @@ -123,7 +124,8 @@
id="outputDirectory"
label="Output directory"
bind:value={outputDirectory}
placeholder={adapterData?.outputDirectory} />
placeholder={adapterData?.outputDirectory ||
'Enter output directory'} />
<Button
secondary
size="s"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<Layout.Stack alignItems="center" gap="s">
<Layout.Stack alignItems="center" justifyContent="center" inline>
<Typography.Text variant="l-500" align="center" inline>
Drag and drop file here or click to upload;
Drag and drop file here or click to upload
<Layout.Stack
style="display: inline-flex; vertical-align: middle;"
inline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
$effect(() => {
if (adapter === Adapter.Static) {
if (!fallback) {
fallback ||= selectedFramework.adapters.find(
(a) => a.key === Adapter.Static
).fallbackFile;
fallback ||=
selectedFramework.adapters.find((a) => a.key === Adapter.Static)
?.fallbackFile || 'index.html';
}
}
});
Expand Down