zhaojs
2023-07-20 bc118fd2a3e747433dd4d7e0b12752a39f1bd504
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
});