Closed mogeko closed 5 days ago
13.4.4
pnpm
Mac
According to the document of postcss-load-config, PostCSS supports configuring it using the postcss field in package.json or a configuration file.
postcss
package.json
However, the postcss field in package.json is not working when I using PostCSS with Turbopack.
Then, I tried to create a .postcssrc.json and copied the same configuration into it, everything is in line with expectations.
.postcssrc.json
Use postcss in package.json to configure PostCSS, which should get the same results as using a configuration file.
postcss.config.js
"postcss": { "plugins": [ "tailwindcss", "autoprefixer" ] }
pnpm next dev --turbo
https://github.com/mogeko/movisea
PACK-2499
Any news?
Closing as Turbopack as moved homes
What version of Next.js are you using Turbopack in?
13.4.4
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
According to the document of postcss-load-config, PostCSS supports configuring it using the
postcss
field inpackage.json
or a configuration file.However, the
postcss
field inpackage.json
is not working when I using PostCSS with Turbopack.Then, I tried to create a
.postcssrc.json
and copied the same configuration into it, everything is in line with expectations.Expected Behavior
Use
postcss
inpackage.json
to configure PostCSS, which should get the same results as using a configuration file.To Reproduce
postcss.config.js
to prevent it from interfering with experimentspostcss
inpackage.json
:Reproduction Repo
https://github.com/mogeko/movisea
PACK-2499