Merge pull request #4501 from Budibase/fix-vite-sourcemaps

Fix vite warnings
This commit is contained in:
Andrew Kingston 2022-02-15 10:30:19 +00:00 committed by GitHub
commit a4cd0fc8fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 9 deletions

View File

@ -30,6 +30,7 @@
{disabled} {disabled}
on:click|preventDefault on:click|preventDefault
on:mouseover={() => (showTooltip = true)} on:mouseover={() => (showTooltip = true)}
on:focus={() => (showTooltip = true)}
on:mouseleave={() => (showTooltip = false)} on:mouseleave={() => (showTooltip = false)}
> >
{#if icon} {#if icon}

View File

@ -48,6 +48,3 @@
<TableDataImport bind:dataImport bind:existingTableId={tableId} /> <TableDataImport bind:dataImport bind:existingTableId={tableId} />
</Layout> </Layout>
</ModalContent> </ModalContent>
<style>
</style>

View File

@ -213,6 +213,3 @@
{/if} {/if}
</Layout> </Layout>
</ModalContent> </ModalContent>
<style>
</style>

View File

@ -130,6 +130,3 @@
</Tabs> </Tabs>
</Layout> </Layout>
</ModalContent> </ModalContent>
<style>
</style>

View File

@ -15,6 +15,7 @@ export default ({ mode }) => {
build: { build: {
minify: isProduction, minify: isProduction,
outDir: "../server/builder", outDir: "../server/builder",
sourcemap: !isProduction,
}, },
plugins: [ plugins: [
svelte({ svelte({