• J
    Warn build on duplicate pages (#8646) · 55369051
    Joe Haddad 提交于
    * Fail build on duplicate pages
    This will fail the `next build` command when a duplicate page is found.
    In development, we'll emit a warning instead of crashing the dev server.
    
    * Add test for warning in development
    
    * Only issue a warning
    
    * Fix production test
    
    * Fix development test
    
    * Remove useless arg
    
    * Warn in development, too
    55369051
index.ts 14.5 KB