webpack 添加 jquery 插件时间:2023-03-09 19:55:08 webpack.base.config.js 加入以下配置: , plugins: [ new webpack.ProvidePlugin({ jQuery: 'jquery', $: 'jquery' }) ]