diff options
Diffstat (limited to 'library/Sortable/scripts/umd-build.js')
-rw-r--r-- | library/Sortable/scripts/umd-build.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/library/Sortable/scripts/umd-build.js b/library/Sortable/scripts/umd-build.js new file mode 100644 index 000000000..ec179fdb9 --- /dev/null +++ b/library/Sortable/scripts/umd-build.js @@ -0,0 +1,15 @@ +import build from './build.js'; + + +export default ([ + { + input: 'entry/entry-complete.js', + output: Object.assign({}, build.output, { + file: './Sortable.js', + format: 'umd' + }) + } +]).map(config => { + let buildCopy = { ...build }; + return Object.assign(buildCopy, config); +}); |