when I run gatsby develop the project works fine in localhoost, but when try to build it using gatsby build I got this error:
failed Building production JavaScript and CSS bundles - 3.847s
ERROR #98123 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
styles.12818ef7fea38407e304.css from Css Minimizer
styles.12818ef7fea38407e304.css from Css Minimizer
/project/styles.12818ef7fea38407e304.css:8:5: Unknown word [styles.12818ef7fea38407e304.css:8,5]
at Input.error (/project/node_modules/postcss/lib/input.js:106:16)
at Parser.unknownWord (/project/node_modules/postcss/lib/parser.js:593:22)
at Parser.other (/project/node_modules/postcss/lib/parser.js:435:12)
at Parser.parse (/project/node_modules/postcss/lib/parser.js:470:16)
at parse (/project/node_modules/postcss/lib/parse.js:11:12)
at new LazyResult (/project/node_modules/postcss/lib/lazy-result.js:133:16)
at Processor.process (/project/node_modules/postcss/lib/processor.js:53:14)
at cssnanoMinify (eval at transform (/project/node_modules/css-minimizer-webpack-plugin/dist/minify.js:34:28), <anonymous>:51:61)
at minify (/project/node_modules/css-minimizer-webpack-plugin/dist/minify.js:15:32)
at Object.transform (/project/node_modules/css-minimizer-webpack-plugin/dist/minify.js:35:24)
File: styles.12818ef7fea38407e304.css
I;m using taillwind css in the project
I dont know what to do
New contributor
Anas Tomeh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.