Skyline/node_modules/ow/dev-only.js

13 lines
215 B
JavaScript
Raw Normal View History

2021-11-22 17:39:03 +00:00
'use strict';
if (process.env.NODE_ENV === 'production') {
const shim = new Proxy((() => {}), {
get: () => shim,
apply: () => shim
});
module.exports = shim;
} else {
module.exports = require('./dist');
}