Update rollup configuration

This commit is contained in:
Andreas Hocevar
2017-07-10 18:59:58 +02:00
parent 791ffaabeb
commit 5f6f757bd0

View File

@@ -47,6 +47,7 @@ function main() {
return Promise.all(pkg.ext.map(ext => {
const moduleName = ext.name || ext.module;
const options = {
extend: true,
entry: require.resolve(ext.module),
dest: `${path.join(__dirname, '..', 'build', 'ol.ext', moduleName.toLowerCase())}.js`,
format: 'iife',