Skip to content

Commit bbf6c65

Browse files
author
Max Presman
committed
add powerBI
1 parent 12e8e66 commit bbf6c65

File tree

3 files changed

+3232
-1
lines changed

3 files changed

+3232
-1
lines changed

Gruntfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var webpack = require('webpack');
22

3-
var WEBPACKED_PLATFORMS = ['web', 'modern', 'webos', 'sencha', 'phonegap', 'parse', 'titanium'];
3+
var WEBPACKED_PLATFORMS = ['web', 'modern', 'webos', 'sencha', 'powerBI', 'phonegap', 'parse', 'titanium'];
44

55
function registerWebpackBuilding(grunt) {
66
var compileTargets = ['clean:core'];
@@ -90,6 +90,7 @@ module.exports = function (grunt) {
9090
sencha: webpackCommonBuilder('sencha', 'modern', []),
9191
phonegap: webpackCommonBuilder('phonegap', 'modern', []),
9292
webos: webpackCommonBuilder('webos', 'modern', []),
93+
powerBI: webpackCommonBuilder('powerBI', 'web', []),
9394
parse: webpackCommonBuilder('parse', 'parse', ['crypto', 'buffer']),
9495
titanium: webpackCommonBuilder('titanium', 'titanium', [])
9596
},
@@ -238,6 +239,14 @@ module.exports = function (grunt) {
238239
from: /PLATFORM/g,
239240
to: '\'Titanium\''
240241
}]
242+
},
243+
powerBI: {
244+
src: ['powerBI/dist/pubnub.js'],
245+
overwrite: true,
246+
replacements: [{
247+
from: /PLATFORM/g,
248+
to: '\'powerBI\''
249+
}]
241250
}
242251
},
243252
copy: {

0 commit comments

Comments
 (0)