Skip to content

Commit b07359b

Browse files
committed
Merged PR 135765: Fix bug with minified version of output bundle
Removed gulp-uglify package as it introduced the bug in the minified file. We are now just using the webpack's production mode to generate minified bundle
1 parent 09894c8 commit b07359b

File tree

6 files changed

+15
-20
lines changed

6 files changed

+15
-20
lines changed

dist/powerbi-client.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.16.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.16.2 | (c) 2016 Microsoft Corporation MIT */
22
declare module "util" {
33
import { HttpPostMessage } from 'http-post-message';
44
/**

dist/powerbi.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ var ghPages = require('gulp-gh-pages'),
33
header = require('gulp-header'),
44
help = require('gulp-help-four'),
55
rename = require('gulp-rename'),
6-
uglify = require('gulp-uglify'),
76
replace = require('gulp-replace'),
87
tslint = require("gulp-tslint"),
98
ts = require('gulp-typescript'),
@@ -166,9 +165,6 @@ gulp.task('min:js', 'Creates minified JavaScript file', function () {
166165
.pipe(rename({
167166
suffix: '.min'
168167
}))
169-
.pipe(uglify({
170-
preserveComments: 'license'
171-
}))
172168
.pipe(gulp.dest('dist/'));
173169
});
174170

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-client",
3-
"version": "2.16.1",
3+
"version": "2.16.2",
44
"description": "JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and responding to data selection.",
55
"main": "dist/powerbi.js",
66
"types": "dist/powerbi-client.d.ts",
@@ -48,7 +48,6 @@
4848
"gulp-tslint": "^7.1.0",
4949
"gulp-typedoc": "^2.0.0",
5050
"gulp-typescript": "^4.0.1",
51-
"gulp-uglify": "^1.5.1",
5251
"gulp4-run-sequence": "^1.0.0",
5352
"http-server": "^0.12.1",
5453
"ignore-loader": "^0.1.1",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @ignore *//** */
22
const config = {
3-
version: '2.16.1',
3+
version: '2.16.2',
44
type: 'js'
55
};
66

0 commit comments

Comments
 (0)