Skip to content

Commit

Permalink
Add banner with copyright
Browse files Browse the repository at this point in the history
Fixes #202
  • Loading branch information
Per Liedman committed Aug 17, 2018
1 parent 3b46c80 commit c926e1e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
import pkg from './package.json';

var banner =
'/* @preserve\n' +
' * Leaflet Control Geocoder ' +
pkg.version +
'\n' +
' * https://github.com/perliedman/leaflet-control-geocoder\n' +
' *\n' +
' * Copyright (c) 2012 sa3m (https://github.com/sa3m)\n' +
' * Copyright (c) 2018 Per Liedman\n' +
' * All rights reserved.\n' +
' */\n';

export default {
input: 'src/index.js',
external: ['leaflet'],
Expand All @@ -8,6 +22,7 @@ export default {
sourcemap: true,
globals: {
leaflet: 'L'
}
},
banner: banner
}
};

0 comments on commit c926e1e

Please sign in to comment.