From 85cb7ef6bd2566b2a52bc640d81f4d2d050e2963 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 12 May 2022 15:04:24 -0600 Subject: [PATCH 1/2] feat: Treat Astro file scripts as TS This updates the import scanner to treat ` diff --git a/playground/optimize-deps/index.html b/playground/optimize-deps/index.html index d11383bfcb3e04..3cd619f9ce9236 100644 --- a/playground/optimize-deps/index.html +++ b/playground/optimize-deps/index.html @@ -119,6 +119,8 @@

Reused variable names

import { parse } from 'node:url' text('.url', parse('https://vitejs.dev').hostname) + + import './index.astro'