forked from DesignLiquido/xslt-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrollup.config.js
More file actions
29 lines (28 loc) · 718 Bytes
/
Copy pathrollup.config.js
File metadata and controls
29 lines (28 loc) · 718 Bytes
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 commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';
import buble from 'rollup-plugin-buble';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
export default {
plugins: [
typescript({
exclude: [
"**/__tests__",
"**/*.test.ts",
"jest.config.ts"
],
tsconfig: './tsconfig.rollup.json'
}),
commonjs(),
resolve(),
buble({
transforms: {dangerousForOf: true}
}),
terser()
],
output: {
format: 'umd',
name: 'XsltProcessor',
sourcemap: true
}
}