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
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
-
Hello. I have a problem with styles import, I'm using Pug+Scss.
In the resulting html file, I have the following path in src of style:
colors-and-type/colors-and-type.*hash*.css
As a result, my styles are not injected due to incorrectly written paths.
My output structure looks like this:
colors-and-type.html
colors-and-type.hash.scss
My project structure looks like this:
colors-and-type.pug
colors-and-type.scss
And I can't understand, what I should do.
I'm using this CLI command for build:
"build": "parcel build ./src/pages/*/* --dist-dir ./docs/"
Thanks in advance.
P.S Also, my project uses custom fonts, can I put them in a separate folder, for example, under the name /fonts ?
Beta Was this translation helpful? Give feedback.
All reactions