Skip to content

Commit 14922a1

Browse files
committed
feat: build Socket 2.1 prerelease as Node 27 SEA
1 parent 8fcc0f9 commit 14922a1

251 files changed

Lines changed: 29042 additions & 1634 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.config/rollup.base.config.mjs‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
isBuiltin,
2222
normalizeId,
2323
} from '../scripts/utils/packages.js'
24+
import { includedModulesInventoryPlugin } from '../src/sea/rollup-provenance.mjs'
2425

2526
const {
2627
INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION,
@@ -289,6 +290,15 @@ export default function baseConfig(extendConfig = {}) {
289290
},
290291
}),
291292
...extendPlugins,
293+
...(process.env.SOCKET_SEA_BUILD === 'true'
294+
? [
295+
includedModulesInventoryPlugin({
296+
root: rootPath,
297+
inventoryFile: 'THIRD-PARTY-NOTICES.json',
298+
bundleId: 'core-rollup',
299+
}),
300+
]
301+
: []),
292302
],
293303
}
294304
}

0 commit comments

Comments
 (0)