Last active
September 18, 2023 15:14
-
-
Save bellydrum/df12bd956f03881c087e3504416848d2 to your computer and use it in GitHub Desktop.
Since some applications will apparently need to support IE until the end of time, here's an easy way to do so while continuing to write modern Javascript.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"transpile": "./node_modules/.bin/babel src/ --out-dir public/" | |
}, | |
"babel": { | |
"presets": [ | |
"@babel/preset-env" | |
] | |
}, | |
"devDependencies": { | |
"@babel/cli": "^7.22.15", | |
"@babel/core": "^7.22.20", | |
"@babel/preset-env": "^7.22.20" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment