compile to commonjs
This commit is contained in:
4
commonjs/wrapper.cjs
Normal file
4
commonjs/wrapper.cjs
Normal file
@ -0,0 +1,4 @@
|
||||
const mod = require('./index.cjs');
|
||||
|
||||
module.exports = mod.default;
|
||||
Object.assign(module.exports, mod);
|
Reference in New Issue
Block a user