Ver Fonte

wip jquery not found fix

Steven Fukase há 4 anos atrás
pai
commit
28c06bd6b7
1 ficheiros alterados com 2 adições e 2 exclusões
  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
       new webpack.ProvidePlugin({ // refs externals
-        jQuery: 'jquery',
-        $: 'jquery',
+        $: require.resolve('jquery'),
+        jQuery: require.resolve('jquery'),
       }),
       }),
 
 
     ]),
     ]),