Skip to content

Commit

Permalink
Update imports for Bun.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Jul 3, 2024
1 parent f496268 commit 05410db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/generate-preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { writeFileSync } from 'fs';
import { basename, join, resolve } from 'path';
import { writeFileSync } from 'node:fs';
import { basename, join, resolve } from 'node:path';
import { green, red } from '../cli/utils';
import { Config, Theme } from './models';
import { previewStyles } from './styles';
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils/screenshot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { join } from 'path';
import { join } from 'node:path';
import puppeteer from 'puppeteer';

/**
Expand Down

0 comments on commit 05410db

Please sign in to comment.