Update babel en disable ES5 builds on dev (#4876)

pull/4885/head
Bram Kragten 2020-02-15 01:09:21 +01:00 committed by GitHub
parent 7d37dc6cde
commit 2d018fff6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 667 additions and 577 deletions

View File

@ -34,6 +34,7 @@ module.exports.babelLoaderConfig = ({ latestBuild }) => {
}, },
], ],
"@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
[ [
require("@babel/plugin-proposal-decorators").default, require("@babel/plugin-proposal-decorators").default,
{ decoratorsBeforeExport: true }, { decoratorsBeforeExport: true },

View File

@ -57,7 +57,7 @@ const handler = (done) => (err, stats) => {
gulp.task("webpack-watch-app", () => { gulp.task("webpack-watch-app", () => {
// we are not calling done, so this command will run forever // we are not calling done, so this command will run forever
webpack(bothBuilds(createAppConfig, { isProdBuild: false })).watch( webpack(createAppConfig({ isProdBuild: false, latestBuild: true })).watch(
{}, {},
handler() handler()
); );

View File

@ -109,16 +109,17 @@
"xss": "^1.0.6" "xss": "^1.0.6"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.7.4", "@babel/core": "^7.8.4",
"@babel/plugin-external-helpers": "^7.7.4", "@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.7.4", "@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.7.4", "@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.7.4", "@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.7.4", "@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.7.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.7.4", "@babel/plugin-transform-react-jsx": "^7.8.3",
"@babel/preset-typescript": "^7.7.4", "@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@types/chai": "^4.1.7", "@types/chai": "^4.1.7",
"@types/chromecast-caf-receiver": "^3.0.12", "@types/chromecast-caf-receiver": "^3.0.12",
"@types/chromecast-caf-sender": "^1.0.1", "@types/chromecast-caf-sender": "^1.0.1",

1220
yarn.lock

File diff suppressed because it is too large Load Diff