-
Notifications
You must be signed in to change notification settings - Fork 296
Upgrade TS, cesium, mobx etc. #765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
use: [ | ||
{ | ||
loader: "babel-loader", | ||
options: { | ||
cacheDirectory: true, | ||
presets: [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
corejs: 3, | ||
useBuiltIns: "usage" | ||
} | ||
], | ||
["@babel/preset-react", { runtime: "automatic" }], | ||
["@babel/preset-typescript", { allowNamespaces: true }] | ||
], | ||
plugins: [ | ||
["@babel/plugin-proposal-decorators", { legacy: true }], | ||
"babel-plugin-styled-components" | ||
] | ||
} | ||
} | ||
] | ||
use: [defaultBabelLoader({ devMode })] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use same default babel settings as terriajs defined here - https://github.com/TerriaJS/terriajs/blob/upgrade-ts-592/buildprocess/defaultBabelLoader.js
"svg-sprite-loader": "^6.0.11", | ||
"terriajs": "8.10.0", | ||
"terriajs-cesium": "8.0.2", | ||
"terriajs": "terriajs/terriajs#upgrade-ts-592", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make sure this is updated before merging
Changes related to terriajs PR - TerriaJS/terriajs#7699