diff --git a/src/styles/helpers.js b/src/styles/helpers.js index 192b2fd7..38caccc8 100644 --- a/src/styles/helpers.js +++ b/src/styles/helpers.js @@ -21,7 +21,7 @@ export const fontFace = ({ }) => ` @font-face { font-family: "${name}"; - src: url("${__DEV__ ? '' : __static}/fonts/${file}.woff2") format("woff2"); + src: url("${__DEV__ ? '' : __static.replace(/\\/g, '/')}/fonts/${file}.woff2") format("woff2"); font-style: ${style}; font-weight: ${weight}; }