Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Feb 9, 2022
1 parent a1bbcfa commit 741bed2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' :
Expand All @@ -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',
Expand Down

0 comments on commit 741bed2

Please sign in to comment.