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
The Raw version works fine during vinxi dev, but it fails during vinxi build.
The Inline version works fine during vinxi build, but fails terribly during vinxi dev.
On the first scenario, the styles just are not shown.
On the second scenario, vinxi dev fails to resolve the import and throws a cryptic error message on the terminal. The error looks like ✘ [ERROR] Could not resolve "../pkg" node_modules/lightningcss/node/index.js:17:27 ...
I have no clue what is going on. Any help is appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My intention is to inline the stylesheets on the
<head>
tag.Given:
And:
Raw
version works fine duringvinxi dev
, but it fails duringvinxi build
.Inline
version works fine duringvinxi build
, but fails terribly duringvinxi dev
.On the first scenario, the styles just are not shown.
On the second scenario,
vinxi dev
fails to resolve theimport
and throws a cryptic error message on the terminal. The error looks like✘ [ERROR] Could not resolve "../pkg" node_modules/lightningcss/node/index.js:17:27 ...
I have no clue what is going on. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions