1 |
|
2 | import resolve from 'rollup-plugin-node-resolve';
|
3 | import commonjs from 'rollup-plugin-commonjs';
|
4 |
|
5 | export default [
|
6 | {
|
7 | input: 'lib/index.js',
|
8 | external: ['@radial/helpers'],
|
9 | output: {
|
10 | name: 'RadialValidation',
|
11 | file: 'dist/radial-validation.js',
|
12 | format: 'umd'
|
13 | },
|
14 | plugins: [
|
15 | resolve(), // so Rollup can find `ms`
|
16 | commonjs() // so Rollup can convert `ms` to an ES module
|
17 | ]
|
18 | },
|
19 | ]; |
\ | No newline at end of file |