RockPaperScissors/node_modules/ow/dev-only.js

13 lines
215 B
JavaScript
Raw Normal View History

2021-11-30 21:03:51 +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');
}