I'm using Poi, @poi/plugin-vue-static
and typeface-nunito-sans
to generate a static app using Vue. The problem is the build fails in a Syntax Error:
project/node_modules/typeface-nunito-sans/index.css:2
@font-face {
^
SyntaxError: Invalid or unexpected token
The whole app works correctly in dev server though. Is this because of the static site generation? How can I fix it?
Relevant code in main.ts:
// Client-side only libraries
import 'typeface-nunito-sans';