forked from Azure/azure-openapi-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rollup.config.js
34 lines (34 loc) · 830 Bytes
/
rollup.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
30
31
32
33
34
import commonjs from '@rollup/plugin-commonjs'
import json from '@rollup/plugin-json';
export default [
{
input: ['esm/spectral/az-arm.js'],
output: {
dir: 'generated/spectral',
format: 'es',
exports: 'default'
},
plugins: [commonjs(),json()],
external:["@stoplight/spectral-functions","@stoplight/spectral-formats"]
},
{
input: ['esm/spectral/az-dataplane.js'],
output: {
dir: 'generated/spectral',
format: 'es',
exports: 'default'
},
plugins: [commonjs(),json()],
external:["@stoplight/spectral-functions","@stoplight/spectral-formats"]
},
{
input: ['esm/spectral/az-common.js'],
output: {
dir: 'generated/spectral',
format: 'es',
exports: 'default'
},
plugins: [commonjs(),json()],
external:["@stoplight/spectral-functions","@stoplight/spectral-formats"]
}
];