Browse Source

revert webpack

Steven Fukase 4 năm trước cách đây
mục cha
commit
3d003dac8c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/app/config/webpack.common.js

+ 2 - 2
packages/app/config/webpack.common.js

@@ -132,8 +132,8 @@ module.exports = (options) => {
       }),
 
       new webpack.ProvidePlugin({ // refs externals
-        $: require.resolve('jquery'),
-        jQuery: require.resolve('jquery'),
+        jQuery: 'jquery',
+        $: 'jquery',
       }),
 
     ]),