Showing
1 changed file
with
5 additions
and
0 deletions
@@ -44,6 +44,11 @@ module.exports = { | @@ -44,6 +44,11 @@ module.exports = { | ||
44 | new webpack.optimize.CommonsChunkPlugin({ | 44 | new webpack.optimize.CommonsChunkPlugin({ |
45 | name: 'libs', | 45 | name: 'libs', |
46 | filename: 'libs.js' | 46 | filename: 'libs.js' |
47 | + }), | ||
48 | + new webpack.ProvidePlugin({ | ||
49 | + $: 'yoho-jquery', | ||
50 | + jQuery: 'yoho-jquery', | ||
51 | + 'window.jQuery': 'yoho-jquery' | ||
47 | }) | 52 | }) |
48 | ] | 53 | ] |
49 | }; | 54 | }; |
-
Please register or login to post a comment