Skip to content

Commit

Permalink
Merge pull request #14 from ninja5pizza/charts
Browse files Browse the repository at this point in the history
Fix: Top-level await is not available in the configured target
  • Loading branch information
mvdnbrk authored Nov 30, 2024
2 parents e83d9d0 + 2ef74ea commit 7f7410c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 0 additions & 13 deletions resources/views/components/chart.blade.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
<div id="trading-view-charts" class="w-full h-96">

</div>

<div class="w-full flex mt-4 pr-4 lg:pr-12 justify-end text-gray-600">
<span class="sr-only">Trading View Charts</span>
<a
href="https://www.tradingview.com"
target="_blank"
rel="noopener"
class="text-white hover:text-gray-200"
>
<x-icon-tradingview class="h-4 lg:h-6" />
</a>
</div>

@pushOnce('scripts')
Expand Down
4 changes: 4 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { defineConfig } from 'vite';

import laravel from 'laravel-vite-plugin';

export default defineConfig({
build: {
target: 'es2022'
},
plugins: [
laravel({
input: [
Expand Down

0 comments on commit 7f7410c

Please sign in to comment.