Build: optimize frontend build configs to improve superset-ui-plugin dev experience (#9326)

* Upgrade webpack, babel and React

* Upgrade all Babel related packages

Also remove babel-plugin-css-modules-transform that is not in use.

* Remvoe tslib as dependency

* Remove unnecesary packages
This commit is contained in:
Jianchao Yang
2020-03-19 14:57:39 -07:00
committed by GitHub
parent ff703cf01b
commit c4b53a7d42
16 changed files with 13875 additions and 5473 deletions

View File

@@ -49,7 +49,9 @@ function toggleCheckbox(apiUrlPrefix: string, selector: string) {
export default function setupApp() {
$(document).ready(function() {
$(':checkbox[data-checkbox-api-prefix]').change(function() {
$(':checkbox[data-checkbox-api-prefix]').change(function(
this: HTMLElement,
) {
const $this = $(this);
const prefix = $this.data('checkbox-api-prefix');
const id = $this.attr('id');