Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Mar 16, 2023
1 parent ea9b3dd commit b53e8b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/vite-plugin-config-alias/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import fs from 'fs';
import path from 'path';
import type { AstroSettings } from '../@types/astro';

import type { Alias, Plugin as VitePlugin } from 'vite';
import type { TsConfigJson } from 'tsconfig-resolver';
import slash from 'slash';
import type { TsConfigJson } from 'tsconfig-resolver';
import type { Alias, Plugin as VitePlugin } from 'vite';

/** Returns a list of compiled aliases. */
const getConfigAlias = (
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/alias-tsconfig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Aliases with tsconfig.json', () => {

it('works in css @import', async () => {
const html = await fixture.fetch('/').then((res) => res.text());
console.log(html)
console.log(html);
// imported css should be bundled
expect(html).to.include('#style-red');
expect(html).to.include('#style-blue');
Expand Down

0 comments on commit b53e8b3

Please sign in to comment.