@@ -13,17 +13,17 @@ const reactRouterNode = applicationConfig()
1313 . addScript ( 'serve' , 'pnpm start' )
1414 . addDependency ( '@clerk/react-router' , constants . E2E_CLERK_VERSION || linkPackage ( 'react-router' ) ) ;
1515
16- // const reactRouterLibrary = applicationConfig()
17- // .setName('react-router-library')
18- // .useTemplate(templates['react-router-library'])
19- // .setEnvFormatter('public', key => `VITE_${key}`)
20- // .addScript('setup', 'pnpm install')
21- // .addScript('dev', 'pnpm dev')
22- // .addScript('build', 'pnpm build')
23- // .addScript('serve', 'pnpm preview')
24- // .addDependency('@clerk/react-router', constants.E2E_CLERK_VERSION || linkPackage('react-router'));
16+ const reactRouterLibrary = applicationConfig ( )
17+ . setName ( 'react-router-library' )
18+ . useTemplate ( templates [ 'react-router-library' ] )
19+ . setEnvFormatter ( 'public' , key => `VITE_${ key } ` )
20+ . addScript ( 'setup' , 'pnpm install' )
21+ . addScript ( 'dev' , 'pnpm dev' )
22+ . addScript ( 'build' , 'pnpm build' )
23+ . addScript ( 'serve' , 'pnpm preview' )
24+ . addDependency ( '@clerk/react-router' , constants . E2E_CLERK_VERSION || linkPackage ( 'react-router' ) ) ;
2525
2626export const reactRouter = {
2727 reactRouterNode,
28- // reactRouterLibrary,
28+ reactRouterLibrary,
2929} as const ;
0 commit comments