Skip to content

Commit

Permalink
feat(liferay-npm-bundler): bump babel from 6 to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Nov 28, 2023
1 parent 94c3ea0 commit 4e05b86
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"liferay-npm-bundler": "bin/liferay-npm-bundler.js"
},
"dependencies": {
"babel-core": "^6.26.3",
"@babel/core": "^7.23.2",
"clone": "^2.1.2",
"data-urls": "^1.1.0",
"dot-prop": "^5.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: LGPL-3.0-or-later
*/

import * as babel from 'babel-core';
import * as babel from '@babel/core';
import clone from 'clone';
import parseDataURL from 'data-urls';
import fs from 'fs-extra';
Expand Down Expand Up @@ -138,7 +138,7 @@ function babelifyPackage(destPkg) {

babelConfig.babelrc = false;
babelConfig.compact = false;
babelConfig.only = '**/*';
babelConfig.only = ['**/*'];
if (babelConfig.sourceMaps === undefined) {
babelConfig.sourceMaps = true;
}
Expand Down
Loading

0 comments on commit 4e05b86

Please sign in to comment.