next-linaria icon indicating copy to clipboard operation
next-linaria copied to clipboard

unable to handle png file type

Open chenrui333 opened this issue 4 years ago • 1 comments

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: {},

chenrui333 avatar Jul 21 '21 19:07 chenrui333

cc @Mistereo

chenrui333 avatar Nov 02 '21 22:11 chenrui333