Open Thy3634 opened 1 year ago
import 'foo/style.css' --> <link rel="stylesheet" href="" />, href is import.meta.resolve('foo/style.css')
<link rel="stylesheet" href="" />
import 'http://127.0.0.1/style.css' --> <link rel="stylesheet" href="http://127.0.0.1/style.css" />
<link rel="stylesheet" href="http://127.0.0.1/style.css" />
import data from 'foo/data.json' --> const data = await (await fetch(import.meta.resolve('foo/data.json'))).json()
The latest updates on your projects. Learn more about Vercel for Git ↗︎
import 'foo/style.css' -->
<link rel="stylesheet" href="" />
, href is import.meta.resolve('foo/style.css')import 'http://127.0.0.1/style.css' -->
<link rel="stylesheet" href="http://127.0.0.1/style.css" />
import data from 'foo/data.json' --> const data = await (await fetch(import.meta.resolve('foo/data.json'))).json()