zhaojs
2023-07-04 61a8d0b62dcc5ddd20dc002d32b8941aae98a614
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);
});