Mirror: A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: Update rollup config to exclude sources from sourcemaps (#9)

authored by

Phil Pluckthun and committed by
GitHub
7d6a172a 9825cf89

+11 -3
+5
.changeset/stupid-garlics-tap.md
··· 1 + --- 2 + 'fetch-nodeshim': patch 3 + --- 4 + 5 + Update rollup config for reduced output and exclude sources from sourcemaps
+6 -3
scripts/rollup.config.mjs
··· 93 93 dir: './', 94 94 exports: 'auto', 95 95 sourcemap: true, 96 - sourcemapExcludeSources: false, 96 + sourcemapExcludeSources: true, 97 97 hoistTransitiveImports: false, 98 98 indent: false, 99 99 freeze: false, ··· 188 188 keep_fnames: true, 189 189 ie8: false, 190 190 compress: { 191 + passes: 2, 191 192 pure_getters: true, 192 193 toplevel: true, 193 194 booleans_as_integers: false, ··· 199 200 loops: false, 200 201 conditionals: false, 201 202 join_vars: false, 203 + reduce_vars: true, 202 204 }, 203 205 mangle: { 204 206 module: true, ··· 224 226 exclude: 'node_modules/**', 225 227 presets: [], 226 228 plugins: [ 227 - '@babel/plugin-transform-typescript', 228 - '@babel/plugin-transform-block-scoping', 229 + ['@babel/plugin-transform-typescript', { 230 + optimizeConstEnums: true, 231 + }], 229 232 ], 230 233 }), 231 234 ],