Skip to content

Commit

Permalink
Add default export
Browse files Browse the repository at this point in the history
Closes #416
  • Loading branch information
Jolg42 committed Apr 13, 2020
1 parent 994fdd6 commit ff80fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var commonjs = require('rollup-plugin-commonjs');
var license = require('rollup-plugin-license');

module.exports = {
input: 'src/opentype.js',
input: 'src/index.js',
output: [
{
file: 'dist/opentype.js',
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import * as opentype from './opentype.js';

export default opentype;

0 comments on commit ff80fdf

Please sign in to comment.