File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
* .ngsummary.json
4
4
* .ngstyle.ts
5
+
6
+ ! rollup-config.js
Original file line number Diff line number Diff line change
1
+ import rollup from 'rollup'
2
+ import nodeResolve from 'rollup-plugin-node-resolve'
3
+ import commonjs from 'rollup-plugin-commonjs' ;
4
+ import uglify from 'rollup-plugin-uglify'
5
+
6
+ export default {
7
+ entry : 'app/main.js' ,
8
+ dest : 'dist/build.js' , // output a single application bundle
9
+ sourceMap : false ,
10
+ format : 'iife' ,
11
+ plugins : [
12
+ nodeResolve ( { jsnext : true , module : true } ) ,
13
+ commonjs ( {
14
+ include : [ 'node_modules/rxjs/**' ,
15
+ 'node_modules/@cloudinary/angular/**' ,
16
+ 'node_modules/cloudinary-core/**' ,
17
+ ] ,
18
+ namedExports : {
19
+ // left-hand side can be an absolute path, a path
20
+ // relative to the current directory, or the name
21
+ // of a module in node_modules
22
+ 'cloudinary-core/cloudinary-core-shrinkwrap' : [ 'Cloudinary' ] ,
23
+ '@cloudinary/angular' : [ 'CloudinaryModule' , 'Cloudinary' ] ,
24
+ }
25
+ } ) ,
26
+ ]
27
+ }
You can’t perform that action at this time.
0 commit comments