Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rollup from 2 to 3 #1949

Merged
merged 1 commit into from
Dec 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build/rollup_plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import typescript from '@rollup/plugin-typescript';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import commonjs from '@rollup/plugin-commonjs';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';
import minifyStyleSpec from './rollup_plugin_minify_style_spec';
import strip from '@rollup/plugin-strip';
import {Plugin} from 'rollup';
import {importAssertionsPlugin} from 'rollup-plugin-import-assert';
import json from '@rollup/plugin-json';

// Common set of plugins/transformations shared across different rollup
// builds (main maplibre bundle, style-spec package, benchmarks bundle)
Expand All @@ -19,7 +19,7 @@ export const nodeResolve = resolve({

export const plugins = (production: boolean): Plugin[] => [
minifyStyleSpec(),
importAssertionsPlugin(),
json(),
// https://github.com/zaach/jison/issues/351
replace({
preventAssignment: true,
Expand Down
Loading