Installing jQuery via Webpacker?
I want to install jQuery in a semi-fresh jumpstart pro instance. the various posts I've read say I need to install the following in webpack/environment:
const webpack = require('webpack')
| environment.plugins.prepend('Provide',
| new webpack.ProvidePlugin({
| $: 'jquery/src/jquery',
| jQuery: 'jquery/src/jquery'
| })
| )But jumpstart pro has webpack/base.js and no environment.js.
Do I add environment.js? if not, how do I this to base.js?
Notifications
You’re not receiving notifications from this thread.