File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import fs from 'fs' ;
22import path from 'path' ;
33import colors from 'kleur' ;
4- import { mkdirp } from '../utils/filesystem.js' ;
4+ import { mkdirp , posixify } from '../utils/filesystem.js' ;
55import { SVELTE_KIT } from './constants.js' ;
66
77/** @param {string } file */
@@ -17,10 +17,10 @@ export function generate_tsconfig(config) {
1717 mkdirp ( SVELTE_KIT ) ;
1818
1919 /** @param {string } file */
20- const project_relative = ( file ) => path . relative ( '.' , file ) ;
20+ const project_relative = ( file ) => posixify ( path . relative ( '.' , file ) ) ;
2121
2222 /** @param {string } file */
23- const config_relative = ( file ) => path . relative ( SVELTE_KIT , file ) ;
23+ const config_relative = ( file ) => posixify ( path . relative ( SVELTE_KIT , file ) ) ;
2424
2525 const dirs = new Set ( [
2626 project_relative ( path . dirname ( config . kit . files . routes ) ) ,
You can’t perform that action at this time.
0 commit comments