continue preparations for .module.css
(vercel/turbo#494)
split global css and module css into separate assets
This commit is contained in:
parent
5e1922d397
commit
fb1629c542
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ export function Head({ children, ...props }) {
|
|||
<head {...props}>
|
||||
{children}
|
||||
{styles.map((url) => (
|
||||
<link key={url} href={url} type="text/css" />
|
||||
<link key={url} href={url} rel="stylesheet" />
|
||||
))}
|
||||
{scripts.map((url) => (
|
||||
<link key={url} type="preload" href={url} as="script" />
|
||||
|
|
|
@ -150,11 +150,11 @@ impl ContentSource for NodeRenderContentSource {
|
|||
method: data
|
||||
.method
|
||||
.clone()
|
||||
.ok_or_else(|| anyhow!("method need to be provided"))?,
|
||||
.ok_or_else(|| anyhow!("method needs to be provided"))?,
|
||||
url: data
|
||||
.url
|
||||
.clone()
|
||||
.ok_or_else(|| anyhow!("url need to be provided"))?,
|
||||
.ok_or_else(|| anyhow!("url needs to be provided"))?,
|
||||
query: data.query.clone(),
|
||||
headers: data.headers.clone(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue