Skip to content

Commit

Permalink
Set sourceType via override.
Browse files Browse the repository at this point in the history
  • Loading branch information
codyml committed Oct 12, 2022
1 parent 5391152 commit d5b5b40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion superset-frontend/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const packageConfig = require('./package');

module.exports = {
sourceMaps: true,
sourceType: 'unambiguous',
sourceType: 'module',
retainLines: true,
presets: [
[
Expand Down Expand Up @@ -103,4 +103,10 @@ module.exports = {
plugins: [],
},
},
overrides: [
{
test: './plugins/plugin-chart-handlebars/node_modules/just-handlebars-helpers/*',
sourceType: 'unambiguous',
},
],
};

0 comments on commit d5b5b40

Please sign in to comment.