umd-build.js 282 B

123456789101112131415
  1. import build from './build.js';
  2. export default ([
  3. {
  4. input: 'entry/entry-complete.js',
  5. output: Object.assign({}, build.output, {
  6. file: './Sortable.js',
  7. format: 'umd'
  8. })
  9. }
  10. ]).map(config => {
  11. let buildCopy = { ...build };
  12. return Object.assign(buildCopy, config);
  13. });