Mirror: Best-effort discovery of the machine's local network using just Node.js dgram sockets
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 (#17)

authored by

Phil Pluckthun and committed by
GitHub
57272075 18413d6f

+11 -18
+5
.changeset/social-knives-sort.md
··· 1 + --- 2 + 'lan-network': patch 3 + --- 4 + 5 + Update rollup config for reduced output and exclude sources from sourcemaps
-1
package.json
··· 60 60 "url": "https://github.com/kitten/lan-network/issues" 61 61 }, 62 62 "devDependencies": { 63 - "@babel/plugin-transform-block-scoping": "^7.25.9", 64 63 "@babel/plugin-transform-typescript": "^7.26.7", 65 64 "@changesets/cli": "^2.29.6", 66 65 "@changesets/get-github-info": "^0.6.0",
-14
pnpm-lock.yaml
··· 8 8 9 9 .: 10 10 devDependencies: 11 - '@babel/plugin-transform-block-scoping': 12 - specifier: ^7.25.9 13 - version: 7.25.9(@babel/core@7.26.7) 14 11 '@babel/plugin-transform-typescript': 15 12 specifier: ^7.26.7 16 13 version: 7.26.7(@babel/core@7.26.7) ··· 186 183 187 184 '@babel/plugin-syntax-typescript@7.25.9': 188 185 resolution: {integrity: sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==} 189 - engines: {node: '>=6.9.0'} 190 - peerDependencies: 191 - '@babel/core': ^7.0.0-0 192 - 193 - '@babel/plugin-transform-block-scoping@7.25.9': 194 - resolution: {integrity: sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==} 195 186 engines: {node: '>=6.9.0'} 196 187 peerDependencies: 197 188 '@babel/core': ^7.0.0-0 ··· 2226 2217 '@babel/types': 7.28.2 2227 2218 2228 2219 '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.7)': 2229 - dependencies: 2230 - '@babel/core': 7.26.7 2231 - '@babel/helper-plugin-utils': 7.26.5 2232 - 2233 - '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.26.7)': 2234 2220 dependencies: 2235 2221 '@babel/core': 7.26.7 2236 2222 '@babel/helper-plugin-utils': 7.26.5
+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, ··· 186 186 keep_fnames: true, 187 187 ie8: false, 188 188 compress: { 189 + passes: 2, 189 190 pure_getters: true, 190 191 toplevel: true, 191 192 booleans_as_integers: false, ··· 197 198 loops: false, 198 199 conditionals: false, 199 200 join_vars: false, 201 + reduce_vars: true, 200 202 }, 201 203 mangle: { 202 204 module: true, ··· 222 224 exclude: 'node_modules/**', 223 225 presets: [], 224 226 plugins: [ 225 - '@babel/plugin-transform-typescript', 226 - '@babel/plugin-transform-block-scoping', 227 + ['@babel/plugin-transform-typescript', { 228 + optimizeConstEnums: true, 229 + }], 227 230 ], 228 231 }), 229 232 ],