@@ -158,6 +158,7 @@ module.exports = {
158158 "bootstrap"
159159 ] ,
160160 cover : [
161+ "babel-polyfill" ,
161162 path . join ( __dirname , 'public/js/cover.js' )
162163 ] ,
163164 "cover-styles-pack" : [
@@ -168,6 +169,7 @@ module.exports = {
168169 path . join ( __dirname , 'node_modules/select2/select2-bootstrap.css' ) ,
169170 ] ,
170171 "cover-pack" : [
172+ "babel-polyfill" ,
171173 "bootstrap-validator" ,
172174 "script!listPagnation" ,
173175 "expose?select2!select2" ,
@@ -176,6 +178,7 @@ module.exports = {
176178 path . join ( __dirname , 'public/js/cover.js' )
177179 ] ,
178180 index : [
181+ "babel-polyfill" ,
179182 "script!jquery-ui-resizable" ,
180183 "script!js-url" ,
181184 "expose?filterXSS!xss" ,
@@ -221,6 +224,7 @@ module.exports = {
221224 path . join ( __dirname , 'node_modules/octicons/octicons/octicons.css' )
222225 ] ,
223226 "index-pack" : [
227+ "babel-polyfill" ,
224228 "expose?Spinner!spin.js" ,
225229 "script!jquery-ui-resizable" ,
226230 "bootstrap-validator" ,
@@ -251,6 +255,7 @@ module.exports = {
251255 path . join ( __dirname , 'public/js/index.js' )
252256 ] ,
253257 pretty : [
258+ "babel-polyfill" ,
254259 "expose?filterXSS!xss" ,
255260 "flowchart.js" ,
256261 "js-sequence-diagrams" ,
@@ -270,6 +275,7 @@ module.exports = {
270275 path . join ( __dirname , 'node_modules/octicons/octicons/octicons.css' )
271276 ] ,
272277 "pretty-pack" : [
278+ "babel-polyfill" ,
273279 "expose?jsyaml!js-yaml" ,
274280 "script!mermaid" ,
275281 "expose?moment!moment" ,
@@ -285,6 +291,7 @@ module.exports = {
285291 path . join ( __dirname , 'public/js/pretty.js' )
286292 ] ,
287293 slide : [
294+ "babel-polyfill" ,
288295 "bootstrap-tooltip" ,
289296 "expose?filterXSS!xss" ,
290297 "flowchart.js" ,
@@ -304,6 +311,7 @@ module.exports = {
304311 path . join ( __dirname , 'node_modules/octicons/octicons/octicons.css' )
305312 ] ,
306313 "slide-pack" : [
314+ "babel-polyfill" ,
307315 "expose?jQuery!expose?$!jquery" ,
308316 "velocity-animate" ,
309317 "imports?$=jquery!jquery-mousewheel" ,
0 commit comments