Skip to content

Commit a66909c

Browse files
committedFeb 2, 2017
Group common files in frontend.js and teambuilder.js
Related to #184
1 parent d22bdaf commit a66909c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎views/index.ejs

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ $(function() {
144144
</ul>
145145
</div>
146146
<!-- load stuff at the end -->
147+
<script src="/javascript/common.js"></script>
147148
<script src="/javascript/frontend.js"></script>
148149
<link rel="stylesheet" href="/stylesheets/frontend.css">
149150
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>

‎webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = {
1717
]
1818
},
1919
plugins: [
20+
new webpack.optimize.CommonsChunkPlugin("common"),
2021
new webpack.ProvidePlugin({ $: 'jquery', jquery: 'jquery', jQuery: 'jquery' })
2122
]
2223
}

0 commit comments

Comments
 (0)
Please sign in to comment.