@blokkli/editor 2.0.0-alpha.50 → 2.0.0-alpha.51
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/module.json +1 -1
- package/dist/module.mjs +5 -5
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import 'typescript';
|
|
|
18
18
|
import 'oxc-walker';
|
|
19
19
|
|
|
20
20
|
const name = "@blokkli/editor";
|
|
21
|
-
const version = "2.0.0-alpha.
|
|
21
|
+
const version = "2.0.0-alpha.51";
|
|
22
22
|
|
|
23
23
|
function validateOption(optionKey, option, icons) {
|
|
24
24
|
const errors = [];
|
|
@@ -3990,10 +3990,6 @@ const module$1 = defineNuxtModule({
|
|
|
3990
3990
|
featureCollector,
|
|
3991
3991
|
blockCollector
|
|
3992
3992
|
];
|
|
3993
|
-
const hasErrors = [...collectors, helper].flatMap((v) => v.validate(iconCollector)).some((v) => v);
|
|
3994
|
-
if (!helper.isDev && !helper.isPrepare && hasErrors) {
|
|
3995
|
-
throw new Error("Failed to build bl\xF6kkli due to validation errors.");
|
|
3996
|
-
}
|
|
3997
3993
|
const context = new ModuleContext(
|
|
3998
3994
|
helper,
|
|
3999
3995
|
iconCollector,
|
|
@@ -4014,6 +4010,10 @@ const module$1 = defineNuxtModule({
|
|
|
4014
4010
|
});
|
|
4015
4011
|
await Promise.all(collectors.map((v) => v.init()));
|
|
4016
4012
|
await Promise.all(collectors.map((v) => v.runHooks()));
|
|
4013
|
+
const hasErrors = [...collectors, helper].flatMap((v) => v.validate(iconCollector)).some((v) => v);
|
|
4014
|
+
if (!helper.isDev && !helper.isPrepare && hasErrors) {
|
|
4015
|
+
throw new Error("Failed to build bl\xF6kkli due to validation errors.");
|
|
4016
|
+
}
|
|
4017
4017
|
TEMPLATES.forEach((v) => {
|
|
4018
4018
|
if (typeof v === "function") {
|
|
4019
4019
|
const result = v(helper);
|