Skip to content

Commit

Permalink
Test globals but not externals
Browse files Browse the repository at this point in the history
  • Loading branch information
wearhere committed Jul 13, 2017
1 parent d8fae1c commit e6fe21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* jshint esnext:true */
import $ from 'jquery';
// import $ from 'jquery';

$(document.body).text('hello world');
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import nodeResolve from 'rollup-plugin-node-resolve';

export default {
entry: 'index.js',
external: ['jquery'],
// external: ['jquery'],
globals: {
jquery: '$'
},
Expand Down

0 comments on commit e6fe21b

Please sign in to comment.