Musique/node_modules/ow/dev-only.js

13 lines
215 B
JavaScript
Raw Permalink Normal View History

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