RockPaperScissors/node_modules/ow/dev-only.js
2021-11-30 22:03:51 +01:00

13 lines
215 B
JavaScript

'use strict';
if (process.env.NODE_ENV === 'production') {
const shim = new Proxy((() => {}), {
get: () => shim,
apply: () => shim
});
module.exports = shim;
} else {
module.exports = require('./dist');
}