Fix premailer with vite in development mode
premailer-rails has multiple strategies of loading CSS. We configured it to consume it from the asset pipeline, which is correct for production. But during development with `vite` the CSS gets served directly from vite over the network. So we enable the network lookup strategy in dev mode.
加载中
想要评论请 注册 或 登录