silgi 0.9.2 → 0.9.3

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.
@@ -1,4 +1,4 @@
1
- const version = "0.9.2";
1
+ const version = "0.9.3";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
@@ -871,11 +871,11 @@ async function nitroFramework(silgi, skip = false) {
871
871
  path: join(runtimeDir, "internal/nitro")
872
872
  });
873
873
  silgi.hook("prepare:core.ts", (_data) => {
874
- if (silgi.options.imports !== false) {
875
- silgi.options.imports.presets ??= [];
876
- silgi.options.imports.presets.push(...getNitroImportsPreset());
877
- }
878
874
  });
875
+ if (silgi.options.imports !== false) {
876
+ silgi.options.imports.presets ??= [];
877
+ silgi.options.imports.presets.push(...getNitroImportsPreset());
878
+ }
879
879
  await h3Framework(silgi, true);
880
880
  }
881
881
  function getNitroImportsPreset() {
@@ -1,4 +1,4 @@
1
- const version = "0.9.2";
1
+ const version = "0.9.3";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
@@ -1,4 +1,4 @@
1
- const version = "0.9.2";
1
+ const version = "0.9.3";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {