-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathes.config.js
29 lines (28 loc) · 928 Bytes
/
es.config.js
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
29
import resolve from 'rollup-plugin-node-resolve';
import includePaths from 'rollup-plugin-includepaths';
import { terser } from 'rollup-plugin-terser';
export default {
input: 'esm/index.js',
plugins: [
includePaths({
include: {
"@ungap/create-content": "./node_modules/@ungap/degap/create-content.js",
"@ungap/weakmap": "./node_modules/@ungap/degap/weakmap.js",
"@ungap/weakset": "./node_modules/@ungap/degap/weakset.js",
"@ungap/event": "./node_modules/@ungap/degap/event.js",
"@ungap/essential-map": "./node_modules/@ungap/degap/essential-map.js",
"@ungap/import-node": "./node_modules/@ungap/degap/import-node.js",
"@ungap/trim": "./node_modules/@ungap/degap/trim.js"
},
}),
resolve({module: true}),
terser()
],
context: 'null',
moduleContext: 'null',
output: {
file: 'es.js',
format: 'iife',
name: 'heresy'
}
};