diff --git a/webpack.config.js b/webpack.config.js index 18bfa37..6323694 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,7 @@ /* jshint esversion: 6 */ const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); +const webpack = require('webpack'); module.exports = { context: path.resolve(__dirname, 'src'), @@ -82,6 +83,9 @@ module.exports = { title: 'Accountant', template: 'index.ejs' }), + new webpack.ProvidePlugin({ + "window.jQuery": "jquery" + }), ], output: { path: path.resolve(__dirname, 'build'),