summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bluwy <bluwy@users.noreply.github.com> 2022-10-12 14:34:35 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-10-12 14:34:35 +0000
commit5412c0c1146d8583828ede647e4f653a68cfeb01 (patch)
tree0bc8eb2425c880d72834e96ccc739d1b56f00017
parentf7fcdfe6210b3cf08cad92c49b64adf169b9e744 (diff)
downloadastro-5412c0c1146d8583828ede647e4f653a68cfeb01.tar.gz
astro-5412c0c1146d8583828ede647e4f653a68cfeb01.tar.zst
astro-5412c0c1146d8583828ede647e4f653a68cfeb01.zip
[ci] format
-rw-r--r--packages/astro/src/vite-plugin-jsx/tag.ts4
-rw-r--r--packages/integrations/solid/src/dependencies.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/vite-plugin-jsx/tag.ts b/packages/astro/src/vite-plugin-jsx/tag.ts
index 1b957b58d..320965eb1 100644
--- a/packages/astro/src/vite-plugin-jsx/tag.ts
+++ b/packages/astro/src/vite-plugin-jsx/tag.ts
@@ -1,7 +1,7 @@
-import { fileURLToPath } from 'url';
-import { resolve as importMetaResolve } from 'import-meta-resolve';
import type { PluginObj } from '@babel/core';
import * as t from '@babel/types';
+import { resolve as importMetaResolve } from 'import-meta-resolve';
+import { fileURLToPath } from 'url';
/**
* This plugin handles every file that runs through our JSX plugin.
diff --git a/packages/integrations/solid/src/dependencies.ts b/packages/integrations/solid/src/dependencies.ts
index bdcfb4c8f..67e50a947 100644
--- a/packages/integrations/solid/src/dependencies.ts
+++ b/packages/integrations/solid/src/dependencies.ts
@@ -3,8 +3,8 @@
// License: MIT (https://github.com/solidjs/vite-plugin-solid/blob/03130c8a0a2ceaab9a07e16f1e1df832b996e1b8/package.json#L38)
import fs from 'fs';
-import path from 'path';
import { createRequire } from 'module';
+import path from 'path';
import { fileURLToPath } from 'url';
function containsSolidField(fields: Record<string, any>) {