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
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Hey! So I tracked down the issue with missing font-awesome and also all other assets from css when using Lanyon in dev/hot mode. It’s because of a bug in sourcemaps here:
. When you remove sourcemaps and convert that line into loader: 'style!css!sass?sourceMap!resolve-url?root=${runtime.projectDir}', everything starts working.
It is a known issue webpack-contrib/css-loader#232 and could potentially be solved by adding an absolute url to config.output.publicPath (could be only added for dev, keeping relative urls for prod), like 'http://localhost:3000', though I got a bit confused about where which path goes in the config. Solved for myself by removing sourcemaps for now.
The text was updated successfully, but these errors were encountered:
Hey! So I tracked down the issue with missing font-awesome and also all other assets from css when using Lanyon in dev/hot mode. It’s because of a bug in sourcemaps here:
lanyon/src/config.js
Line 232 in 5660a47
loader: 'style!css!sass?sourceMap!resolve-url?root=${runtime.projectDir}'
, everything starts working.It is a known issue webpack-contrib/css-loader#232 and could potentially be solved by adding an absolute url to config.output.publicPath (could be only added for dev, keeping relative urls for prod), like 'http://localhost:3000', though I got a bit confused about where which path goes in the config. Solved for myself by removing sourcemaps for now.
The text was updated successfully, but these errors were encountered: