@weapp-core/schematics 1.0.5 → 1.0.6

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/dist/index.cjs CHANGED
@@ -39,7 +39,8 @@ function generateWxss() {
39
39
  return "";
40
40
  }
41
41
  function generateWxml(filepath) {
42
- return `<view>hello weapp-vite!${filepath ? ` from ${filepath}` : ""}</view>`;
42
+ return `<view>hello weapp-vite!</view>
43
+ ${filepath ? `<view>from ${filepath}</view>` : ""}`;
43
44
  }
44
45
  function JSONStringify(res) {
45
46
  return JSON.stringify(res, void 0, 2);
package/dist/index.js CHANGED
@@ -12,7 +12,8 @@ function generateWxss() {
12
12
  return "";
13
13
  }
14
14
  function generateWxml(filepath) {
15
- return `<view>hello weapp-vite!${filepath ? ` from ${filepath}` : ""}</view>`;
15
+ return `<view>hello weapp-vite!</view>
16
+ ${filepath ? `<view>from ${filepath}</view>` : ""}`;
16
17
  }
17
18
  function JSONStringify(res) {
18
19
  return JSON.stringify(res, void 0, 2);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-core/schematics",
3
3
  "type": "module",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "@weapp-core/schematics",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",