Webpack 的核心概念有哪些(entry / output / loader / plugin)?

// webpack.config.js 片段
module.exports = {
  entry: './src/main.js',
  output: { filename: '[contenthash].js', path: __dirname + '/dist' },
  module: { rules: [{ test: /\.css$/, use: ['style-loader', 'css-loader'] }] },
  plugins: [new HtmlWebpackPlugin({ template: './index.html' })]
}

同分类其他题目