Skip to content

Commit 98e266d

Browse files
author
Kelly Selden
committed
update babel-plugin-debug-macros to 0.2.0-beta.6
1 parent 8d8c591 commit 98e266d

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

index.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,19 @@ module.exports = {
244244
const isProduction = process.env.EMBER_ENV === 'production';
245245

246246
let options = {
247-
envFlags: {
248-
source: '@glimmer/env',
249-
flags: { DEBUG: !isProduction, CI: !!process.env.CI }
250-
},
247+
flags: [
248+
{
249+
source: '@glimmer/env',
250+
flags: { DEBUG: !isProduction, CI: !!process.env.CI }
251+
}
252+
],
251253

252254
externalizeHelpers: {
253255
global: 'Ember'
254256
},
255257

256258
debugTools: {
259+
isDebug: !isProduction,
257260
source: '@ember/debug',
258261
assertPredicateIndex: 1
259262
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"dependencies": {
4040
"amd-name-resolver": "1.2.0",
41-
"babel-plugin-debug-macros": "^0.1.11",
41+
"babel-plugin-debug-macros": "^0.2.0-beta.6",
4242
"babel-plugin-ember-modules-api-polyfill": "^2.3.0",
4343
"babel-plugin-transform-es2015-modules-amd": "^6.24.0",
4444
"babel-polyfill": "^6.26.0",

yarn.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,12 @@ babel-plugin-debug-macros@^0.1.10, babel-plugin-debug-macros@^0.1.11:
456456
dependencies:
457457
semver "^5.3.0"
458458

459+
babel-plugin-debug-macros@^0.2.0-beta.6:
460+
version "0.2.0-beta.6"
461+
resolved "https://registry.yarnpkg.com/babel-plugin-debug-macros/-/babel-plugin-debug-macros-0.2.0-beta.6.tgz#ecdf6e408d5c863ab21740d7ad7f43f027d2f912"
462+
dependencies:
463+
semver "^5.3.0"
464+
459465
babel-plugin-ember-modules-api-polyfill@^2.3.0:
460466
version "2.3.0"
461467
resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-2.3.0.tgz#0c01f359658cfb9c797f705af6b09f6220205ae0"

0 commit comments

Comments
 (0)