Skip to content

Commit

Permalink
Merge pull request #2 from le0pard/broken-build
Browse files Browse the repository at this point in the history
Broken js build, because no global Backbone.Marionette
  • Loading branch information
paulfalgout authored Aug 23, 2018
2 parents b0ed89f + f7009f9 commit 8f6f778
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gulp/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const srcPath = 'src/';
const rollupGlobals = {
'backbone': 'Backbone',
'underscore': '_',
'backbone.marionette': 'Backbone.Marionette'
'marionette': 'Marionette'
};

function makeESModule(bundle) {
Expand Down Expand Up @@ -45,7 +45,7 @@ function makeBundle(buildPath) {

return rollup({
entry: srcPath + pkg.name + '.js',
external: ['underscore', 'backbone', 'backbone.marionette'],
external: ['underscore', 'backbone', 'marionette'],
plugins: [
json(),
babel({
Expand Down
2 changes: 1 addition & 1 deletion lib/marionette.approuter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/marionette.approuter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/marionette.approuter.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f6f778

Please sign in to comment.