Skip to content

Commit

Permalink
use new webapck libraryExport option
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Oct 30, 2017
1 parent ee94c03 commit a9f99fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions _develop/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = function(env) {
output: {
filename: '[name]',
library: 'Quill',
libraryExport: 'default',
libraryTarget: 'umd',
path: path.resolve(__dirname, '../dist/')
},
Expand Down
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Quill.register({
Parchment.register(Block, Break, Cursor, Inline, Scroll, TextBlot);


module.exports = Quill;
export default Quill;
2 changes: 1 addition & 1 deletion quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ Quill.register({
}, true);


module.exports = Quill;
export default Quill;

0 comments on commit a9f99fe

Please sign in to comment.