Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/wxt/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export * from './create-server';
export * from './initialize';
export * from './prepare';
export * from './zip';
export * from './utils';
1 change: 1 addition & 0 deletions packages/wxt/src/core/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { normalizePath } from './paths';
4 changes: 2 additions & 2 deletions packages/wxt/src/core/utils/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import systemPath from 'node:path';
import normalize from 'normalize-path';

/**
* Converts system paths to normalized bundler path. On windows and unix, this returns paths with /
* instead of \.
* Converts system paths to normalized bundler path.\
* On Windows and Unix, this returns paths with `/` instead of `\`.
*/
export function normalizePath(path: string): string {
return normalize(path);
Expand Down
Loading