const { createBabelConfig } = require('@grund/babel-preset/factory');

const alias = require('./aliases');

module.exports = (opts = {}, config = {}) => {
	const namespace = '@namespace';
	const configOpts = { ...opts, namespace, alias };

	return createBabelConfig(configOpts, config);
};
