File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/pfe-tools/dev-server Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
107107 ctx . body = await makeDemoEnv ( options . rootDir ) ;
108108 ctx . type = 'application/javascript' ;
109109 } )
110- // Redirect `elements/jazz-hands/*.js` to `elements/pf-pf- jazz-hands/*.ts`
110+ // Redirect `elements/jazz-hands/*.js` to `elements/pf-jazz-hands/*.ts`
111111 . get ( `/${ componentSubpath } /:componentDir/:fileName.js` , async ctx => {
112112 ctx . redirect ( `/${ componentSubpath } /${ ctx . params . componentDir } /${ ctx . params . fileName } .ts` ) ;
113113 } )
@@ -120,7 +120,7 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
120120 return next ( ) ;
121121 }
122122 } )
123- // Redirect `elements/jazz-hands/*` to `elements/pf-jazz-hands/*` not previously handled
123+ // Redirect `elements/jazz-hands/*` to `elements/pf-jazz-hands/*` for files not previously handled
124124 . get ( `/${ componentSubpath } /:componentDir/:any*` , async ( ctx , next ) => {
125125 if ( ctx . params . any === 'demo' ) {
126126 /* if its the demo directory return */
You can’t perform that action at this time.
0 commit comments