Merge pull request 'fix 'resolve is not defined' error' (#5) from Shadow53/gmi-web:resolve-not-defined into main

Reviewed-on: https://codeberg.org/talon/gmi-web/pulls/5
This commit is contained in:
talon 2021-03-29 18:00:40 +02:00
commit 52af808f5c

2
css.js
View file

@ -57,7 +57,7 @@ export function load(options) {
path.resolve(
["gmi-web.css", "gmi.css"].includes(options.css)
? internal(options.css)
: resolve(options.css)
: path.resolve(options.css)
),
"utf-8"
)