mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user