From 741bed291fb19a6ccd64445dfdd8523f60bb44af Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Sun, 6 Feb 2022 20:47:53 +0100 Subject: [PATCH] cleanup --- rollup.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rollup.config.ts b/rollup.config.ts index a9c69673f78..0baff87be64 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -6,8 +6,6 @@ import {RollupOptions} from 'rollup'; const {BUILD, MINIFY} = process.env; const minified = MINIFY === 'true'; -const srcDir = 'src'; -const inputExt = 'ts'; const production = BUILD === 'production'; const outputFile = !production ? 'dist/maplibre-gl-dev.js' : @@ -21,7 +19,7 @@ const config: RollupOptions[] = [{ // - rollup/build/maplibregl/shared.js: the set of modules that are dependencies of both the main module and the worker module // // This is also where we do all of our source transformations using the plugins. - input: [`${srcDir}/index.${inputExt}`, `${srcDir}/source/worker.${inputExt}`], + input: ['src/index.ts', 'src/source/worker.ts'], output: { dir: 'rollup/build/maplibregl', format: 'amd',