You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/app.css trying to import from src/_styles/config/_custom-properties.css:
@importurl("config/_custom-properties.css");
What is the expected behavior?
CSS file gets bundled.
What do you see instead?
Results in the following error:
Error: No result
at napi_create_error (file:///Users/paulrobertlloyd/Library/Caches/deno/npm/registry.npmjs.org/napi-wasm/1.0.1/index.mjs:866:15)
at <anonymous> (wasm://wasm/02a4df8e:1:7124758)
at <anonymous> (wasm://wasm/02a4df8e:1:7118080)
at <anonymous> (wasm://wasm/02a4df8e:1:7110732)
at Object.bundle (file:///Users/paulrobertlloyd/Library/Caches/deno/npm/registry.npmjs.org/napi-wasm/1.0.1/index.mjs:248:19)
at bundleAsync (file:///Users/paulrobertlloyd/Library/Caches/deno/npm/registry.npmjs.org/lightningcss-wasm/1.22.1/async.mjs:68:21)
at async lightningCSSBundler (https://deno.land/x/lume@v2.0.0/plugins/lightningcss.ts:143:24)
at async Processors.run (https://deno.land/x/lume@v2.0.0/core/processors.ts:31:7)
at async Site.#buildPages (https://deno.land/x/lume@v2.0.0/core/site.ts:638:5)
at async Site.build (https://deno.land/x/lume@v2.0.0/core/site.ts:506:9) {
code: "GenericFailure",
fileName: "/Users/paulrobertlloyd/Sites/paulrobertlloyd-v5/src/app.css",
loc: { line: 2, column: 1 },
data: "ResolverError"
}
Additional information
Moving config/_custom-properties.css to src/_layouts folder (which is set as site.options.includes), the error disappears.
Version
2.0.0
Platform
Deno 1.38.5
What steps will reproduce the bug?
Lume options:
LigntingCSS options:
CSS file:
src/app.css
trying to import fromsrc/_styles/config/_custom-properties.css
:What is the expected behavior?
CSS file gets bundled.
What do you see instead?
Results in the following error:
Additional information
Moving
config/_custom-properties.css
tosrc/_layouts
folder (which is set assite.options.includes
), the error disappears.From a quick glance, it looks the
includes
option gets overridden bysite.options.includes
here, and perhapsuserOptions
isn’t taken? https://deno.land/x/lume@v2.0.0/plugins/lightningcss.ts?source#L57The text was updated successfully, but these errors were encountered: