forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move build directory outside of server folder (vercel#4565)
The prepares for next-server. I also took this as an opportunity to get all build directory paths from a single location, as they were previously scattered across webpack/babel plugins and loaders.
- Loading branch information
1 parent
f6b3755
commit a30ef19
Showing
30 changed files
with
245 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./dist/server/build/babel/preset') | ||
module.exports = require('./dist/build/babel/preset') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...er/build/plugins/build-manifest-plugin.js → build/plugins/build-manifest-plugin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
server/build/plugins/pages-plugin.js → build/plugins/pages-plugin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
// flow-typed signature: fbec9bc08efb50bade7bd6c2bab84e41 | ||
// flow-typed version: <<STUB>>/loader-utils_v1.1.0/flow_v0.73.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* 'loader-utils' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module 'loader-utils' { | ||
declare module.exports: any; | ||
} | ||
|
||
/** | ||
* We include stubs for each file inside this npm package in case you need to | ||
* require those files directly. Feel free to delete any files that aren't | ||
* needed. | ||
*/ | ||
declare module 'loader-utils/lib/getCurrentRequest' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/getHashDigest' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/getOptions' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/getRemainingRequest' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/interpolateName' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/isUrlRequest' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/parseQuery' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/parseString' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/stringifyRequest' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'loader-utils/lib/urlToRequest' { | ||
declare module.exports: any; | ||
} | ||
|
||
// Filename aliases | ||
declare module 'loader-utils/lib/getCurrentRequest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/getCurrentRequest'>; | ||
} | ||
declare module 'loader-utils/lib/getHashDigest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/getHashDigest'>; | ||
} | ||
declare module 'loader-utils/lib/getOptions.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/getOptions'>; | ||
} | ||
declare module 'loader-utils/lib/getRemainingRequest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/getRemainingRequest'>; | ||
} | ||
declare module 'loader-utils/lib/index.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/index'>; | ||
} | ||
declare module 'loader-utils/lib/interpolateName.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/interpolateName'>; | ||
} | ||
declare module 'loader-utils/lib/isUrlRequest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/isUrlRequest'>; | ||
} | ||
declare module 'loader-utils/lib/parseQuery.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/parseQuery'>; | ||
} | ||
declare module 'loader-utils/lib/parseString.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/parseString'>; | ||
} | ||
declare module 'loader-utils/lib/stringifyRequest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/stringifyRequest'>; | ||
} | ||
declare module 'loader-utils/lib/urlToRequest.js' { | ||
declare module.exports: $Exports<'loader-utils/lib/urlToRequest'>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.