-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
Description
Hello,
if I try to import a font from one of the KyleAMathews/typefaces project, webpack compilation breaks.
I also tried to use CSS imports from a .global.css file but had no success either.
Is there any way to make this working ? I want to avoid importing from external CDNs as much as possible.
Thanks !
Here's the error I get in the console:
/home/fmauneko/code/accounts/node_modules/typeface-roboto/index.css:2
@font-face {
^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:537:28)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/fmauneko/code/accounts/dist/server_dev.js:2729:18)