mirror of https://github.com/webpack/webpack.git
13 lines
170 B
JavaScript
13 lines
170 B
JavaScript
|
"use strict";
|
||
|
|
||
|
module.exports = function supportsNodePrefix() {
|
||
|
try {
|
||
|
eval("require('node:path')");
|
||
|
return true;
|
||
|
} catch (_err) {
|
||
|
// Ignore
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
};
|