DEV Community

Discussion on: Speed up Next.js build with Typescript and Tailwind CSS

Collapse
 
kwbtsts profile image
kwst

Hi! Thank you for helpful information.

I'm trying to apply esbuild on my nextjs project. I got this error. How can I fix it? Do you have any idea?

TypeError: this.getOptions is not a function
> Build error occurred
Error: > Build failed because of webpack errors
Enter fullscreen mode Exit fullscreen mode
Collapse
 
rsa profile image
Ranieri Althoff

It usually means that you are using an incompatible version of the plugin. Try installing a previous version of esbuild-loader or update your webpack instalation.