Files
infocom-systems-design/node_modules/bare-path/index.js
2025-10-03 22:27:28 +03:00

12 lines
306 B
JavaScript

/* global Bare */
// This export SHOULD NOT be shortened in any way as having the full
// `module.exports = require(...)` statement is crucial for synthesizing
// ESM exports.
if (Bare.platform === 'win32') {
module.exports = require('./lib/win32')
} else {
module.exports = require('./lib/posix')
}