@web/storybook-builder
Version:
Storybook builder powered by `@web/dev-server`
13 lines • 621 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.stringifyProcessEnvs = void 0;
const core_common_1 = require("@storybook/core-common");
function stringifyProcessEnvs(env) {
const result = (0, core_common_1.stringifyProcessEnvs)(env);
// "NODE_PATH" pollutes the output, it's not really used and is not recommended in general
// see more https://github.com/nodejs/node/issues/38128#issuecomment-814969356
delete result['process.env.NODE_PATH'];
return result;
}
exports.stringifyProcessEnvs = stringifyProcessEnvs;
//# sourceMappingURL=stringify-process-envs.js.map