@embroider/macros 1.12.2-unstable.db25d62 → 1.12.3-unstable.1cfdcec
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -197,13 +197,13 @@ These methods can be used in conjunction with `macroCondition` to tree-shake cod
|
|
|
197
197
|
```js
|
|
198
198
|
import { isTesting, isDevelopingApp, macroCondition } from '@embroider/macros';
|
|
199
199
|
|
|
200
|
-
if (macroCondition(isTesting()) {
|
|
200
|
+
if (macroCondition(isTesting())) {
|
|
201
201
|
// some test code - stripped out when not running tests
|
|
202
202
|
} else {
|
|
203
203
|
// some non-test code
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
if (macroCondition(isDevelopingApp()) {
|
|
206
|
+
if (macroCondition(isDevelopingApp())) {
|
|
207
207
|
// some code when app is in development environment - stripped out in production builds
|
|
208
208
|
} else {
|
|
209
209
|
// some production code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embroider/macros",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3-unstable.1cfdcec",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Standardized build-time macros for ember apps.",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "jest"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@embroider/shared-internals": "2.2.
|
|
26
|
+
"@embroider/shared-internals": "2.2.3-unstable.1cfdcec",
|
|
27
27
|
"assert-never": "^1.2.1",
|
|
28
28
|
"babel-import-util": "^1.1.0",
|
|
29
29
|
"ember-cli-babel": "^7.26.6",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@babel/core": "^7.14.5",
|
|
37
37
|
"@babel/plugin-transform-modules-amd": "^7.19.6",
|
|
38
38
|
"@babel/traverse": "^7.14.5",
|
|
39
|
-
"@embroider/core": "3.1.
|
|
39
|
+
"@embroider/core": "3.1.3-unstable.1cfdcec",
|
|
40
40
|
"@embroider/test-support": "workspace:*",
|
|
41
41
|
"@glint/template": "^1.0.0",
|
|
42
42
|
"@types/babel__core": "^7.1.14",
|