Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to handle png file type #8

Open
chenrui333 opened this issue Jul 21, 2021 · 1 comment
Open

unable to handle png file type #8

chenrui333 opened this issue Jul 21, 2021 · 1 comment

Comments

@chenrui333
Copy link

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
Copy link
Author

cc @Mistereo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant