Skip to content

Commit

Permalink
Fix adapter-vercel imports
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Mar 22, 2021
1 parent d0a7019 commit cb805c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-birds-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-vercel': patch
---

Fix adapter-vercel imports
6 changes: 3 additions & 3 deletions packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { writeFileSync, mkdirSync, renameSync } from 'fs';
import { resolve, join } from 'path';
import { copy } from '@sveltejs/app-utils/files';
const { writeFileSync, mkdirSync, renameSync } = require('fs');
const { resolve, join } = require('path');
const { copy } = require('@sveltejs/app-utils/files');

module.exports = function () {
/** @type {import('@sveltejs/kit').Adapter} */
Expand Down

0 comments on commit cb805c0

Please sign in to comment.