using jQuery in JumpStart Pro...
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?
Did you create that new file? If so, did that not break the development.js etc in same folder?
Or did you add that code to config/webpack/base.js ?
Or did you add that code to config/webpack/development.js ?
And did you actually use
module.exports = environmentor did you modify the
module.exports = mergein JSP?
Notifications
You’re not receiving notifications from this thread.