Explorar o código

wip jquery not found fix

Steven Fukase %!s(int64=4) %!d(string=hai) anos
pai
achega
28c06bd6b7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
-        jQuery: 'jquery',
-        $: 'jquery',
+        $: require.resolve('jquery'),
+        jQuery: require.resolve('jquery'),
       }),
 
     ]),