File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "presets" : [" @babel/preset-env" ]
3+ }
Original file line number Diff line number Diff line change 33 "version" : " 0.1.0" ,
44 "description" : " `BinderHub`" ,
55 "devDependencies" : {
6+ "@babel/cli" : " ^7.15.7" ,
7+ "@babel/core" : " ^7.15.5" ,
8+ "@babel/preset-env" : " ^7.15.6" ,
9+ "babel-loader" : " ^8.2.2" ,
610 "css-loader" : " ^6.2.0" ,
711 "eslint" : " ^7.32.0" ,
812 "mini-css-extract-plugin" : " ^2.3.0" ,
1216 "dependencies" : {
1317 "bootstrap" : " ^3.4.0" ,
1418 "clipboard" : " ^2.0.8" ,
15- "jquery" : " ^3.6.0" ,
1619 "event-source-polyfill" : " ^1.0.25" ,
20+ "jquery" : " ^3.6.0" ,
1721 "xterm" : " ^4.14.1" ,
1822 "xterm-addon-fit" : " ^0.5.0"
1923 },
Original file line number Diff line number Diff line change @@ -23,6 +23,16 @@ module.exports = {
2323 ] ,
2424 module : {
2525 rules : [
26+ {
27+ test : / \. j s $ / ,
28+ exclude : / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) / ,
29+ use : {
30+ loader : 'babel-loader' ,
31+ options : {
32+ presets : [ '@babel/preset-env' ] ,
33+ }
34+ }
35+ } ,
2636 {
2737 test : / \. c s s $ / i,
2838 use : [
You can’t perform that action at this time.
0 commit comments