Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 275e604

Browse files
jelbournThomasBurleson
authored andcommitted
feat(core): add ngMaterial global with version info.
closes #5202.
1 parent 0656404 commit 275e604

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gulp/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function buildJs () {
5454
.pipe(concat('angular-material.js'))
5555
.pipe(BUILD_MODE.transform())
5656
.pipe(insert.prepend(config.banner))
57+
.pipe(insert.append('window.ngMaterial={version:{full: "' + VERSION +'"}}'))
5758
.pipe(gulp.dest(config.outputDir))
5859
.pipe(gulpif(!IS_DEV, uglify({ preserveComments: 'some' })))
5960
.pipe(rename({ extname: '.min.js' }))

0 commit comments

Comments
 (0)