@ascua/transform 0.7.0 → 0.8.1
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/index.js +8 -4
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -13,14 +13,18 @@ module.exports = {
|
|
|
13
13
|
|
|
14
14
|
return {
|
|
15
15
|
babel(tree) {
|
|
16
|
-
return Transpile(tree, {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
return new Transpile(tree, {
|
|
17
|
+
babel: {
|
|
18
|
+
...babel.buildBabelOptions('babel'),
|
|
19
|
+
sourceType: 'script',
|
|
20
|
+
},
|
|
19
21
|
});
|
|
20
22
|
},
|
|
21
23
|
fastboot(tree) {
|
|
22
24
|
return Stew.map(tree, (v) => {
|
|
23
|
-
return `if (typeof FastBoot === "undefined") {
|
|
25
|
+
return `if (typeof FastBoot === "undefined") {
|
|
26
|
+
${v}
|
|
27
|
+
}`;
|
|
24
28
|
});
|
|
25
29
|
},
|
|
26
30
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascua/transform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Small description for @ascua/transform goes here",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"url": "https://surrealdb.com"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"broccoli-babel-transpiler": "^7.8.
|
|
18
|
+
"broccoli-babel-transpiler": "^7.8.1",
|
|
19
19
|
"broccoli-stew": "^3.0.0",
|
|
20
20
|
"ember-cli-babel": "^8.2.0",
|
|
21
21
|
"ember-cli-htmlbars": "^6.3.0"
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "d3f48162b3b85f71da8252477e3c3378afca9c7e"
|
|
31
31
|
}
|