1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/registry/npm/@denotest/node-lifecycle-scripts/1.0.0/preinstall.js

6 lines
177 B
JavaScript
Raw Normal View History

if ("Deno" in globalThis && typeof globalThis.Deno === 'object') {
require('./helper.js');
console.log('deno preinstall.js');
} else {
console.log('node preinstall.js');
}