This repository was archived by the owner on Feb 4, 2025. It is now read-only.
File tree 1 file changed +30
-31
lines changed
1 file changed +30
-31
lines changed Original file line number Diff line number Diff line change @@ -4,34 +4,33 @@ const uglify = require('rollup-plugin-uglify');
4
4
const optimize = require ( 'rollup-plugin-optimize-js' ) ;
5
5
const filesize = require ( 'rollup-plugin-filesize' ) ;
6
6
7
- module . exports = [ {
8
- input : 'src/index.js' ,
9
- plugins : [
10
- resolve ( ) ,
11
- babel ( ) ,
12
- filesize ( { showMinifiedSize : false } ) ,
13
- ] ,
14
- output : {
15
- file : 'dist/jsonLogic.js' ,
16
- format : 'umd' ,
17
- name : 'jsonLogic' ,
18
- exports : 'default' ,
19
- sourcemap : true ,
20
- }
21
- } , {
22
- input : 'src/index.js' ,
23
- plugins : [
24
- resolve ( ) ,
25
- babel ( ) ,
26
- uglify . uglify ( ) ,
27
- optimize ( ) ,
28
- filesize ( { showMinifiedSize : false } ) ,
29
- ] ,
30
- output : {
31
- file : 'dist/jsonLogic.min.js' ,
32
- format : 'umd' ,
33
- name : 'jsonLogic' ,
34
- exports : 'default' ,
35
- sourcemap : true ,
36
- }
37
- } ] ;
7
+ module . exports = [
8
+ {
9
+ input : 'src/index.js' ,
10
+ plugins : [ resolve ( ) , babel ( ) , filesize ( { showMinifiedSize : false } ) ] ,
11
+ output : {
12
+ file : 'dist/jsonLogic.js' ,
13
+ format : 'umd' ,
14
+ name : 'jsonLogic' ,
15
+ exports : 'default' ,
16
+ sourcemap : true ,
17
+ } ,
18
+ } ,
19
+ {
20
+ input : 'src/index.js' ,
21
+ plugins : [
22
+ resolve ( ) ,
23
+ babel ( ) ,
24
+ uglify . uglify ( ) ,
25
+ optimize ( ) ,
26
+ filesize ( { showMinifiedSize : false } ) ,
27
+ ] ,
28
+ output : {
29
+ file : 'dist/jsonLogic.min.js' ,
30
+ format : 'umd' ,
31
+ name : 'jsonLogic' ,
32
+ exports : 'default' ,
33
+ sourcemap : true ,
34
+ } ,
35
+ } ,
36
+ ] ;
You can’t perform that action at this time.
0 commit comments