Skip to content

Commit 9842b8d

Browse files
authored
Fix for the default import of strip-ansi (#6599)
1 parent 36c99a6 commit 9842b8d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
- Fix Next.js dynamic and static OG images. (#6592)
2+
- Address a regression introduced in 13.0.1 when emulating Vite applications. (#6599)

src/frameworks/vite/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { spawn } from "cross-spawn";
33
import { existsSync } from "fs";
44
import { copy, pathExists } from "fs-extra";
55
import { join } from "path";
6-
import stripAnsi from "strip-ansi";
6+
const stripAnsi = require("strip-ansi");
77
import { FrameworkType, SupportLevel } from "../interfaces";
88
import { promptOnce } from "../../prompt";
99
import {

0 commit comments

Comments
 (0)