Skip to content

Commit 901446a

Browse files
committed
chore: fix typo
1 parent 5931097 commit 901446a

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/rolldown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"scripts": {
3030
"build": "pnpm dev:prepare && ROLLDOWN_OPTIONS_VALIDATION=loose nuxi build src && tsdown",
3131
"build:debug": "NUXT_DEBUG_BUILD=true pnpm run build",
32-
"dev": "DEBUG='vite:devtools:*' ROLLDOWN_OPTIONS_VALIDATION=loose nuxi dev src",
32+
"dev": "DEBUG='rolldown:devtools:*' ROLLDOWN_OPTIONS_VALIDATION=loose nuxi dev src",
3333
"dev:prepare": "nuxi prepare src",
3434
"prepack": "pnpm build"
3535
},

packages/rolldown/src/app/composables/rpc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export async function connect() {
3838
rpcOptions: {
3939
onGeneralError: (e, name) => {
4040
connectionState.error = e
41-
console.error(`[vite-devtools] RPC error on executing "${name}":`)
41+
console.error(`[rolldown-devtools] RPC error on executing "${name}":`)
4242
},
4343
onFunctionError: (e, name) => {
4444
connectionState.error = e
45-
console.error(`[vite-devtools] RPC error on executing "${name}":`)
45+
console.error(`[rolldown-devtools] RPC error on executing "${name}":`)
4646
},
4747
},
4848
})

packages/rolldown/src/app/state/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ClientSettings {
2929
}
3030

3131
export const settings = useLocalStorage<ClientSettings>(
32-
'vite-devtools-settings',
32+
'rolldown-devtools-settings',
3333
{
3434
codeviewerLineWrap: false,
3535
codeviewerDiffPanelSize: 50,

packages/rolldown/src/modules/rpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineNuxtModule({
1111
const resolver = createResolver(import.meta.url)
1212

1313
addVitePlugin({
14-
name: 'vite:devtools',
14+
name: 'vite:devtools:rolldown',
1515
devtools: {
1616
setup(ctx) {
1717
for (const fn of rpcFunctions) {

packages/rolldown/src/node/utils/json-parse-stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function parseJsonStreamWithConcatArrays<T, K = T>(
5656
catch (e) {
5757
const preview = line.length > 256 ? `${line.slice(0, 256)}...` : line
5858
console.warn(
59-
`[vite-devtools] JSON parse stream skip bad line ${lineNumber}: ${(e as Error).message}\n${preview}`,
59+
`[rolldown-devtools] JSON parse stream skip bad line ${lineNumber}: ${(e as Error).message}\n${preview}`,
6060
)
6161
}
6262
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const WS_EVENT_NAME = 'vite-devtools'
1+
export const WS_EVENT_NAME = 'rolldown-devtools'

0 commit comments

Comments
 (0)