swico 3.1.0-beta.6 → 3.1.0-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "3.1.0-beta.6",
3
+ "version": "3.1.0-beta.7",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -129,6 +129,12 @@ const getProjectConfig = (env) => __awaiter(void 0, void 0, void 0, function* ()
129
129
  utils_1.toast.error(msgText);
130
130
  process.exit(1);
131
131
  }
132
+ if (key === 'base' &&
133
+ configObj['template'] === 'vue' &&
134
+ configFields.includes('reactCompiler')) {
135
+ utils_1.toast.error(`'${chalk_1.default.blue('vue')}' template does not support the field '${chalk_1.default.red('reactCompiler')}'`, { title: toastTitle });
136
+ process.exit(1);
137
+ }
132
138
  if (key === 'base' && !['vue', 'react'].includes(configObj['template'])) {
133
139
  utils_1.toast.error(`The field '${chalk_1.default.blue('template')}' does not support the value '${chalk_1.default.red(configObj['template'])}',the value should be 'vue' or 'react' `, { title: toastTitle });
134
140
  process.exit(1);