import { withPolyfillsFactory , makeConfigFactory } from '@haul-bundler/core' ; import getDefaultConfig from './defaultConfig' ; const polyfills = [ require . resolve ( '../vendor/polyfills/Object.es6.js' ) , require . resolve ( '../vendor/polyfills/console.js' ) , require . resolve ( '../vendor/polyfills/error-guard.js' ) , require . resolve ( '../vendor/polyfills/Number.es6.js' ) , require . resolve ( '../vendor/polyfills/String.prototype.es6.js' ) , require . resolve ( '../vendor/polyfills/Array.prototype.es6.js' ) , require . resolve ( '../vendor/polyfills/Array.es6.js' ) , require . resolve ( '../vendor/polyfills/Object.es7.js' ) , ] ; export const withPolyfills = withPolyfillsFactory ( polyfills ) ; export const makeConfig = makeConfigFactory ( getDefaultConfig ) ;