@wevu/compiler 0.0.7 → 0.1.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2775,7 +2775,7 @@ function getMiniProgramTemplatePlatform(platform) {
2775
2775
  */
2776
2776
  function compileVueTemplateToWxml(template, filename, options) {
2777
2777
  const warnings = [];
2778
- const runtimeMode = options?.classStyleRuntime ?? "auto";
2778
+ const runtimeMode = options?.classStyleRuntime ?? "js";
2779
2779
  const resolvedRuntime = runtimeMode === "auto" ? options?.wxsExtension ? "wxs" : "js" : runtimeMode === "wxs" && !options?.wxsExtension ? "js" : runtimeMode;
2780
2780
  const wxsExtension = options?.wxsExtension;
2781
2781
  const scopedSlotsRequireProps = options?.scopedSlotsRequireProps ?? options?.scopedSlotsCompiler !== "augmented";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wevu/compiler",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.1.0",
5
5
  "description": "wevu 编译器基础包,面向小程序模板的编译与转换",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",