mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
7 lines
255 B
JavaScript
7 lines
255 B
JavaScript
module.exports = function getBabelCommonConfig() {
|
|
const babelConfig = require('atool-build/lib/getBabelCommonConfig')();
|
|
babelConfig.plugins.push([require.resolve('babel-plugin-transform-runtime'),
|
|
{ polyfill: false }]);
|
|
return babelConfig;
|
|
};
|