next-linaria
next-linaria copied to clipboard
unable to handle png file type
During the 0.11.0 or even 1.0.0-beta upgrades, I have run into some issue as below:
$ next build
warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache
info - Creating an optimized production build...
info - Using external babel configuration from /home/runner/work/build-meetup/build-meetup/packages/web-next/packages/web/.babelrc
Failed to compile.
./public/images/register/video-background.png 1:0
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
I am using all things default in next.config.js as with 0.10.0
withLinaria({
linaria: {},
cc @Mistereo