Force AngularJS to use jQuery.

This commit is contained in:
Alexis Lahouze 2017-07-07 01:16:49 +02:00
parent 6556227f88
commit 2fb98fdeed

View File

@ -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'),