I installed bootstrap 4 with npm. I am currently using react library. I am transpiring wising babel for the es2015 and react. Also using webpack. At the console I am getting the following error regarding jQuery and is coming from the file transition.js:
    Uncaught ReferenceError: jQuery is not defined       transition.js
Here is the webpack config:
     const webpack = require('webpack');
     const path = require('path');
     const autoprefixer = require('autoprefixer');
     module.exports = {
entry: [
    "./client/main.js",
    "bootstrap-loader",
],
output: {
    path: './public',
    filename: "bundle.js",
    publicPath: '/'
},
devServer: {
    inline: true,
    contentBase: './public'
},
module: {
    loaders: [
        {
            test:/\.jsx?$/,
            exclude: /(node_modules|bower_components)/,
            loader: 'babel',
            query: {
                presets: ['react', 'es2015']
            }
        },
        { test: /\.css$/, loaders: [ 'style', 'css', 'postcss' ] },
        { test: /\.scss$/, loaders: [ 'style', 'css', 'postcss', 'sass' ] },
        { test: /bootstrap\/dist\/js\/umd\//, loader: 'imports?jQuery=jquery!./file.js' },
        { test: /\.(woff2?|ttf|eot|svg)$/, loader: 'url?limit=10000' },
    ]
},
postcss: [ autoprefixer ]
}