@zohodesk/client_build_tool
Version:
A CLI tool to build web applications and client libraries
18 lines (15 loc) • 408 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.babelLoaderConfig = babelLoaderConfig;
var _babelWebConfig = require("../../../babel/babelWebConfig");
function babelLoaderConfig(options) {
const babelConfig = (0, _babelWebConfig.babelWebConfig)(options);
return {
loader: 'babel-loader',
options: { ...babelConfig,
cacheDirectory: true
}
};
}