React help please

so im new to react and im trying to get my CSS to load and whenever I require it I get this error: Module not found: Error: Can't resolve 'css-loader' in '/app/' could someone help :slight_smile:

hereโ€™s what my webpack looks like:

module.exports = {
  mode: 'development',
  context: path.join(__dirname, './'),
  entry: './src/app.jsx',
  output: {
    path: path.join(__dirname, 'src/Public/Assets/CSS/'),
    filename: 'bundle.js',
  resolve: {
    extensions: ['.js', '.jsx'],
  module: {
    rules: [
        test: /\.jsx?$/,
        loader: 'jsx-loader',
        exclude: /node_modules/,
        include: path.join(__dirname, 'src'),
        test: /\.css$/,
        loader: 'style-loader!css-loader?modules&localIdentName=[name]---[local]---[hash:base64:5]',
}; ```

nevermind i fixed it.