Next.js · Middle · Question 66 of 75

A monorepo package @acme/ui ships untranspiled TypeScript. How do you use it in a Next.js app?

Explanation

transpilePackages lets Next.js compile dependencies from local packages or node_modules, replacing the old next-transpile-modules plugin.

Further reading

Problem with a question

Next.js · Middle · question 66

Test yourself

Take the Next.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz