1- import resolve from 'rollup-plugin-node-resolve'
2- import commonjs from 'rollup-plugin-commonjs'
3- import sourceMaps from 'rollup-plugin-sourcemaps'
4- import camelCase from 'lodash.camelcase'
5- import typescript from 'rollup-plugin-typescript2'
6- import json from 'rollup-plugin-json'
1+ import resolve from 'rollup-plugin-node-resolve' ;
2+ import commonjs from 'rollup-plugin-commonjs' ;
3+ import sourceMaps from 'rollup-plugin-sourcemaps' ;
4+ import typescript from 'rollup-plugin-typescript2' ;
5+ import json from 'rollup-plugin-json' ;
76
8- const pkg = require ( './package.json' )
7+ const pkg = require ( './package.json' ) ;
98
10- const libraryName = 'elastic-apm-sourcemap-webpack-plugin'
9+ const libraryName = 'elastic-apm-sourcemap-webpack-plugin' ;
1110
1211export default {
1312 input : `src/${ libraryName } .ts` ,
14- output : [
15- { file : pkg . main , name : camelCase ( libraryName ) , format : 'umd' , sourcemap : true } ,
16- { file : pkg . module , format : 'es' , sourcemap : true }
17- ] ,
13+ output : [ { file : pkg . module , format : 'es' , sourcemap : true } ] ,
1814 // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
1915 external : [ ] ,
2016 watch : {
@@ -35,4 +31,4 @@ export default {
3531 // Resolve source maps to the original source
3632 sourceMaps ( )
3733 ]
38- }
34+ } ;
0 commit comments