You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
Some Babel presets provide plugins with configuration. In such cases liferay-npm-bundler fiddles with the configuration and ends up passing a wrong options object to babel.
That ends up in the following error being thrown:
Error: Plugin 1 specified in "base" provided an invalid property of "loose"
at Plugin.init (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-core/lib/t
ransformation/plugin.js:131:13)
at Function.normalisePlugin (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/bab
el-core/lib/transformation/file/options/option-manager.js:152:12)
at /Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-core/lib/transformation
/file/options/option-manager.js:184:30
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/ba
bel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/b
abel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-cor
e/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-core/
lib/transformation/file/index.js:212:65)
at new File (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-core/lib/tran
sformation/file/index.js:135:24)
at Pipeline.transform (/Users/ivan/Liferay/Javascript/liferay-npm-build-tools/packages/liferay-npm-bundler/node_modules/babel-cor
e/lib/transformation/pipeline.js:47:16)
The text was updated successfully, but these errors were encountered:
Some Babel presets provide plugins with configuration. In such cases liferay-npm-bundler fiddles with the configuration and ends up passing a wrong options object to babel.
That ends up in the following error being thrown:
The text was updated successfully, but these errors were encountered: