From 5f6f757bd059fe6ec3e30c2382420886d9e3834f Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Mon, 10 Jul 2017 18:59:58 +0200 Subject: [PATCH] Update rollup configuration --- tasks/build-ext.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/build-ext.js b/tasks/build-ext.js index 211e5df494..18651389c5 100644 --- a/tasks/build-ext.js +++ b/tasks/build-ext.js @@ -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',