UNPKG

219 BJavaScriptView Raw
1let ow;
2if (process.env.NODE_ENV === 'production') {
3 const shim = new Proxy((() => {}), {
4 get: () => shim,
5 apply: () => shim,
6 });
7
8 ow = shim;
9} else {
10 ow = await import('./dist/index.js');
11}
12
13export default ow;