ui: Move styles/ to $lib scope (#26950)
* refactor: Move `styles/` to `src/lib` and remove legacy alias * chore: Add newline
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<link rel="icon" href="favicon.ico" sizes="48x48" />
|
<link rel="icon" href="favicon.ico" sizes="48x48" />
|
||||||
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml" />
|
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml" />
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import '$styles/katex-custom.scss';
|
import '$lib/styles/katex-custom.scss';
|
||||||
import {
|
import {
|
||||||
getCodeInfoFromTarget,
|
getCodeInfoFromTarget,
|
||||||
getHastNodeId,
|
getHastNodeId,
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ const config = {
|
|||||||
precompress: false,
|
precompress: false,
|
||||||
strict: true
|
strict: true
|
||||||
}),
|
}),
|
||||||
alias: {
|
|
||||||
$styles: 'src/styles'
|
|
||||||
},
|
|
||||||
output: {
|
output: {
|
||||||
bundleStrategy: 'single'
|
bundleStrategy: 'single'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user