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 96f1a4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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
1 change: 0 additions & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@sveltejs/adapter-vercel",
"version": "1.0.0-next.6",
"main": "index.js",
"type": "module",
"files": [
"files"
],
Expand Down

0 comments on commit 96f1a4e

Please sign in to comment.