Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
2fcc4aec
Unverified
Commit
2fcc4aec
authored
Mar 27, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Mar 27, 2024
Browse files
Merge pull request #1316 from ryankupk/svelte-warnings
Update svelte.config.js to suppress unused CSS selector warnings
parents
19d21212
addee2f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
svelte.config.js
svelte.config.js
+9
-1
No files found.
svelte.config.js
View file @
2fcc4aec
...
@@ -16,7 +16,15 @@ const config = {
...
@@ -16,7 +16,15 @@ const config = {
assets
:
'
build
'
,
assets
:
'
build
'
,
fallback
:
'
index.html
'
fallback
:
'
index.html
'
})
})
}
},
onwarn
:
(
warning
,
handler
)
=>
{
const
{
code
,
_
}
=
warning
;
if
(
code
===
"
css-unused-selector
"
)
return
;
handler
(
warning
);
},
};
};
export
default
config
;
export
default
config
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment