I want to use: require.context('../images/', true, /\.(png|ico|svg|jpg|gif)$/)
require.context('../images/', true, /\.(png|ico|svg|jpg|gif)$/)
but I get the following error:
Property context does not exist on type NodeRequire
Just install the typings for webpack-env
webpack-env
npm i @types/webpack-env -D