We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555c2d6 commit 8c3acf4Copy full SHA for 8c3acf4
README.md
@@ -41,9 +41,29 @@ import TurboConsole from "vite-plugin-turbo-console";
41
42
// https://vitejs.dev/config/
43
export default defineConfig({
44
- plugins: [TurboConsole()],
+ plugins: [TurboConsole({
45
+ /* options here */
46
+ })],
47
});
48
```
49
+**options**
50
+```ts
51
+interface TurboConsoleOptions {
52
+ /**
53
+ * Add a string prefix to the console log.
54
+ */
55
+ prefix?: string
56
57
+ * Add a string suffix to the console log.
58
59
+ suffix?: string
60
61
+ * Whether to disable the launch editor feature.
62
+ * default: false
63
64
+ disableLaunchEditor?: boolean
65
+}
66
+```
67
68
## ❤️ Credits
69
Inspired by
0 commit comments