Force AngularJS to use jQuery.
This commit is contained in:
parent
6556227f88
commit
2fb98fdeed
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user