Open nadir opened 3 weeks ago
https://github.com/nadir/create-next-app-no-autoprefixer
npx create-next-app@latest my-next-app
postcss.config.js
postcss.config.mjs
The postcss.config.js or postcss.config.mjs file should include Autoprefixer in the plugins configuration.
The postcss.config.js or postcss.config.mjs file does not include Autoprefixer. Example file content:
/** @type {import('postcss-load-config').Config} */ const config = { plugins: { tailwindcss: {}, }, }; export default config;
Operating System: Platform: linux Arch: x64 Version: #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 Available memory (MB): 7930 Available CPU cores: 2 Binaries: Node: 20.17.0 npm: 10.8.2 Yarn: 1.22.22 pnpm: 9.10.0 Relevant Packages: next: 14.2.3 // There is a newer version (14.2.14) available, upgrade recommended! eslint-config-next: 14.2.3 react: 18.3.1 react-dom: 18.3.1 typescript: 5.4.5
create-next-app
next build (local)
No response
Is this expected behaviour and should I close this issue ?
Link to the code that reproduces this issue
https://github.com/nadir/create-next-app-no-autoprefixer
To Reproduce
npx create-next-app@latest my-next-app
and select tailwindpostcss.config.js
orpostcss.config.mjs
file.Current vs. Expected behavior
Expected Behavior
The
postcss.config.js
orpostcss.config.mjs
file should include Autoprefixer in the plugins configuration.Actual Behavior
The
postcss.config.js
orpostcss.config.mjs
file does not include Autoprefixer. Example file content:Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
No response