Fix string_decoder import

This commit is contained in:
Samuel Elliott 2025-04-02 21:48:43 +01:00
parent dd73e31df5
commit 018b3b121f
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -96,6 +96,7 @@ const main = {
json(),
alias({
entries: [
{find: 'string_decoder/', replacement: 'node:string_decoder'},
...Module.builtinModules.map(m => ({find: m, replacement: 'node:' + m})),
],
}),
@ -110,7 +111,6 @@ const main = {
'node-notifier',
'register-scheme',
'bindings',
'node:string_decoder/',
],
watch,
};