aboutsummaryrefslogblamecommitdiffstats
path: root/library/Sortable/scripts/esm-build.js
blob: 9caff74d0228704d9a91d4d1e943197291ee450d (plain) (tree)



























                                                                 
import build from './build.js';

export default ([
	{
		input: 'entry/entry-core.js',
		output: Object.assign({}, build.output, {
			file: 'modular/sortable.core.esm.js',
			format: 'esm'
		})
	},
	{
		input: 'entry/entry-defaults.js',
		output: Object.assign({}, build.output, {
			file: 'modular/sortable.esm.js',
			format: 'esm'
		})
	},
	{
		input: 'entry/entry-complete.js',
		output: Object.assign({}, build.output, {
			file: 'modular/sortable.complete.esm.js',
			format: 'esm'
		})
	}
]).map(config => {
	let buildCopy = { ...build };
	return Object.assign(buildCopy, config);
});