Skip to content

Commit

Permalink
Standardise wrapper files
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjwest committed Aug 14, 2020
1 parent 3e7f07a commit 00339f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/wrapper.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import sinonTest from './es5/index';
export = sinonTest;
import defaultImport from './es5/index';
export = defaultImport;
5 changes: 2 additions & 3 deletions build/wrapper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
const sinonTest = require('./es5/index.cjs').default;

module.exports = sinonTest;
const moduleImport = require('./es5/index.cjs');
module.exports = Object.assign(moduleImport.default, moduleImport);

0 comments on commit 00339f7

Please sign in to comment.