threads-plugin
threads-plugin copied to clipboard
Next.js support
I'm hoping to get some help around using threads.js on next. I've configured next to use the plugin but I get this error:
> Using external babel configuration
> Location: "/Users/robekoc/Projects/lqip/.babelrc"
Creating an optimized production build
Failed to compile.
chunk static/QIOKXaRhhPw5Q3pzYxrVx/pages/index.js [initial]
static/QIOKXaRhhPw5Q3pzYxrVx/pages/index.js
/Users/robekoc/Projects/lqip/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!/Users/robekoc/Projects/lqip/src/pages/index.tsx
No template for dependency: ConstDependency
> Build error occurred
Error: > Build failed because of webpack errors
at build (/Users/robekoc/Projects/lqip/node_modules/next/dist/build/index.js:9:900)
If anyone has had any success using next and can share how they did it that would be great. The project is https://zeit.co/kochie/lqip/f1stqdw4q
I've tried using the next-workers plugin as well but it seems to be incompatible with this library.