Skip to content

Commit

Permalink
chore: set default value for babelHelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed Feb 13, 2023
1 parent 700123d commit 373c5b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions commands/build/lib/build.js
Expand Up @@ -141,6 +141,7 @@ const config = ({
}),
json(),
babel({
babelHelpers: 'bundled',
babelrc: false,
inputSourceMap: false, // without this you get wrong source maps, but I don't know why
extensions,
Expand Down
1 change: 1 addition & 0 deletions commands/sense/lib/build-legacy.js
Expand Up @@ -76,6 +76,7 @@ async function build(argv) {
nodeResolve(),
common(),
babel({
babelHelpers: 'bundled',
babelrc: false,
exclude: [/node_modules/],
presets: [
Expand Down
1 change: 1 addition & 0 deletions commands/sense/lib/build.js
Expand Up @@ -93,6 +93,7 @@ async function build(argv) {
nodeResolve(),
common(),
babel({
babelHelpers: 'bundled',
babelrc: false,
exclude: [/node_modules/],
presets: [
Expand Down

0 comments on commit 373c5b4

Please sign in to comment.