Closed hyshka closed 7 years ago
See: https://github.com/webpack-contrib/expose-loader
It'll be something like this:
module: { rules: [{ test: require.resolve('jquery'), use: [{ loader: 'expose-loader', options: 'jQuery' },{ loader: 'expose-loader', options: '$' }] }] }
See: https://github.com/webpack-contrib/expose-loader
It'll be something like this: