Explorar el Código

wip jquery not found fix

Steven Fukase hace 4 años
padre
commit
28c06bd6b7
Se han modificado 1 ficheros con 2 adiciones y 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'),
       }),
 
     ]),