Error while configuring CSS modules with webpack
问题 I am trying to configure CSS modules with webpack but I get an error. I have checked the other answers here on stackoverflow but none of the solutions have made it work for me so far. I have added the loader as the docs suggest but it still shows an error. This is my webpack.configuration.js file. const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/index.js', output: { path: path.join(__dirname, '/dist'), filename: 'index