Dilan Nair

Results 56 comments of Dilan Nair

@Rickyoung221 you should be able to do that like normal, as outlined [here in the html-webpack-plugin docs](https://github.com/jantimon/html-webpack-plugin#options). ```js /* craco.config.js */ const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { webpack: {...

@thediveo would it be possible to create a demo repo where this issue is reproduced (or perhaps share your package.json so I can try recreating the issue)?

@fs86 sorry for the long delay. It looks like your demo repo isn't available anymore. Can you recreate it?

@FrozenPyrozen is your project using ES6 or CommonJS? It looks like you're using `lodash-es`, which I believe does not support CommonJS's `require`.

@terrancecorley @pooooriya craco 6 does not support CRA 5 but craco 7 does. Currently, craco 7 is in alpha, so you can install it with `npm i @craco/craco@alpha`.

Are you sure this is a craco issue? Try looking at this: https://stackoverflow.com/questions/71040681/qemu-x86-64-could-not-open-lib64-ld-linux-x86-64-so-2-no-such-file-or-direc

Have you checked out the [`less-loader` documentation](https://webpack.js.org/loaders/less-loader/)? Ideally, following those instructions then adding the relevant webpack config contents to the craco config should work.

I don't believe this would fix anything. Trying to disable the eslint plugin when it isn't found would also [throw a craco error](https://github.com/dilanx/craco/blob/56840ceaedaa5f71cc580099e72f0048fafcc44f/packages/craco/src/lib/features/webpack/eslint.ts#L23). Does removing the `eslint` section from your...

Yeah, we can follow CRA's dependencies, but who knows when that'll be resolved 😭

Thanks for the great suggestion @gauravshah27! Although I see what you're getting at, I think it might be better to hold off until the 7.0.0 release. I plan to release...