@@ -476,7 +476,6 @@ export const adder = defineAdderConfig({
476
476
name : ( { kit, typescript } ) =>
477
477
`${ kit ! . routesDirectory } /demo/login/+page.server.${ typescript ? 'ts' : 'js' } ` ,
478
478
condition : ( { options } ) => options . demo ,
479
- contentType : 'text' ,
480
479
content ( { content, typescript } ) {
481
480
if ( content ) {
482
481
log . warn (
@@ -622,7 +621,6 @@ export const adder = defineAdderConfig({
622
621
{
623
622
name : ( { kit } ) => `${ kit ! . routesDirectory } /demo/login/+page.svelte` ,
624
623
condition : ( { options } ) => options . demo ,
625
- contentType : 'text' ,
626
624
content ( { content, typescript } ) {
627
625
if ( content ) {
628
626
log . warn ( `Existing ${ colors . yellow ( '/demo/login/+page.svelte' ) } file. Could not update.` ) ;
@@ -660,7 +658,6 @@ export const adder = defineAdderConfig({
660
658
name : ( { kit, typescript } ) =>
661
659
`${ kit ! . routesDirectory } /demo/+page.server.${ typescript ? 'ts' : 'js' } ` ,
662
660
condition : ( { options } ) => options . demo ,
663
- contentType : 'text' ,
664
661
content ( { content, typescript } ) {
665
662
if ( content ) {
666
663
log . warn (
@@ -704,7 +701,6 @@ export const adder = defineAdderConfig({
704
701
{
705
702
name : ( { kit } ) => `${ kit ! . routesDirectory } /demo/+page.svelte` ,
706
703
condition : ( { options } ) => options . demo ,
707
- contentType : 'text' ,
708
704
content ( { content, typescript } ) {
709
705
if ( content ) {
710
706
log . warn ( `Existing ${ colors . yellow ( '/demo/+page.svelte' ) } file. Could not update.` ) ;
0 commit comments