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}>
|
<head {...props}>
|
||||||
{children}
|
{children}
|
||||||
{styles.map((url) => (
|
{styles.map((url) => (
|
||||||
<link key={url} href={url} type="text/css" />
|
<link key={url} href={url} rel="stylesheet" />
|
||||||
))}
|
))}
|
||||||
{scripts.map((url) => (
|
{scripts.map((url) => (
|
||||||
<link key={url} type="preload" href={url} as="script" />
|
<link key={url} type="preload" href={url} as="script" />
|
||||||
|
|
|
@ -150,11 +150,11 @@ impl ContentSource for NodeRenderContentSource {
|
||||||
method: data
|
method: data
|
||||||
.method
|
.method
|
||||||
.clone()
|
.clone()
|
||||||
.ok_or_else(|| anyhow!("method need to be provided"))?,
|
.ok_or_else(|| anyhow!("method needs to be provided"))?,
|
||||||
url: data
|
url: data
|
||||||
.url
|
.url
|
||||||
.clone()
|
.clone()
|
||||||
.ok_or_else(|| anyhow!("url need to be provided"))?,
|
.ok_or_else(|| anyhow!("url needs to be provided"))?,
|
||||||
query: data.query.clone(),
|
query: data.query.clone(),
|
||||||
headers: data.headers.clone(),
|
headers: data.headers.clone(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue