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

Build problem with Next 12 on Vercel #97

Open
antoninbeaufort opened this issue Oct 28, 2021 · 0 comments
Open

Build problem with Next 12 on Vercel #97

antoninbeaufort opened this issue Oct 28, 2021 · 0 comments

Comments

@antoninbeaufort
Copy link

Describe the bug
Sorry for my English I'm french :/
When upgrading from Next 11.1.2 to Next 12 this plugin seems to break on Vercel build :
[Error: ENOENT: no such file or directory, lstat '/vercel/path0/virtual:windi.css']

To Reproduce
Steps to reproduce the behavior:

  1. Create a Next 12 project, implement windicss-webpack-plugin using

next.config.js

webpack(config) {
    config.plugins.push(new WindiCSSWebpackPlugin())
    return config
  },

in module.exports and
import 'windi.css'in _app.js
2. Deploy it to Vercel
3. See error

Expected behavior
No build error

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