Skip to content

Commit

Permalink
Update AMD build.
Browse files Browse the repository at this point in the history
  • Loading branch information
omegascorp committed Jul 14, 2017
1 parent 218cdb9 commit 4af7e42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ gulp.task('build-amd', function() {
.pipe(concat('owl.js'))
.pipe(wrapper({
type: 'amd',
exports: 'owl'
exports: 'owl',
name: 'owljs'
}))
.pipe(uglify())
.pipe(rename('owl-amd.min.js'))
Expand All @@ -103,7 +104,8 @@ gulp.task('build-amd', function() {
.pipe(concat('owl.js'))
.pipe(wrapper({
type: 'amd',
exports: 'owl'
exports: 'owl',
name: 'owljs'
}))
.pipe(uglify())
.pipe(rename('owl-amd.min.js'))
Expand All @@ -118,7 +120,8 @@ gulp.task('build-amd-core', function() {
.pipe(concat('owl.js'))
.pipe(wrapper({
type: 'amd',
exports: 'owl'
exports: 'owl',
name: 'owljs'
}))
.pipe(uglify())
.pipe(rename('owl-amd-core.min.js'))
Expand All @@ -134,7 +137,8 @@ gulp.task('build-amd-ajax', function() {
.pipe(concat('owl.js'))
.pipe(wrapper({
type: 'amd',
exports: 'owl'
exports: 'owl',
name: 'owljs'
}))
.pipe(uglify())
.pipe(rename('owl-amd-ajax.min.js'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "owljs",
"version": "0.8.4",
"version": "0.8.5",
"description": "Backbone-like frontend library",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 4af7e42

Please sign in to comment.