mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 06:40:02 -04:00
remove terser
This commit is contained in:
parent
ad02459a57
commit
ea21f222be
1 changed files with 5 additions and 7 deletions
|
@ -1,11 +1,9 @@
|
||||||
import inject from '@rollup/plugin-inject';
|
import inject from '@rollup/plugin-inject';
|
||||||
import terser from '@rollup/plugin-terser';
|
|
||||||
import typescript from 'rollup-plugin-typescript2';
|
import typescript from 'rollup-plugin-typescript2';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
|
|
||||||
const commonPlugins = () => [
|
const commonPlugins = () => [
|
||||||
typescript(),
|
typescript(),
|
||||||
terser(),
|
|
||||||
inject(
|
inject(
|
||||||
Object.fromEntries(
|
Object.fromEntries(
|
||||||
['fetch', 'Request', 'Response', 'WebSocket', 'XMLHttpRequest', 'SharedWorker', 'localStorage', 'serviceWorker'].map(
|
['fetch', 'Request', 'Response', 'WebSocket', 'XMLHttpRequest', 'SharedWorker', 'localStorage', 'serviceWorker'].map(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue