Skip to content

Commit 4650d01

Browse files
committed
jQuery was duplicated in vendor
1 parent a85eee7 commit 4650d01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/webpack.common.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ module.exports = {
1313
resolve: {
1414
extensions: ['.ts', '.js'],
1515
alias: {
16-
"lodash": "lodash-es",
16+
lodash: "lodash-es",
17+
jquery: "jquery/src/jquery",
1718
},
1819
},
1920
module: {
@@ -45,8 +46,6 @@ module.exports = {
4546
name: ['polyfills', 'vendor'].reverse()
4647
}),
4748
new webpack.ProvidePlugin({
48-
jQuery: 'jquery',
49-
$: 'jquery',
5049
Util: "exports?Util!bootstrap/js/dist/util",
5150
Collapse: "exports?Collapse!bootstrap/js/dist/collapse",
5251
}),

0 commit comments

Comments
 (0)