-
Notifications
You must be signed in to change notification settings - Fork 27.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move plugins and loaders to webpack folder (#4618)
Also adds basic `flow` to webpack.js and the plugins.
- Loading branch information
1 parent
82f2e08
commit d674dcc
Showing
13 changed files
with
2,084 additions
and
16 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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
build/loaders/next-babel-loader.js → build/webpack/loaders/next-babel-loader.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
2 changes: 1 addition & 1 deletion
2
build/plugins/build-manifest-plugin.js → .../webpack/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.
2 changes: 1 addition & 1 deletion
2
build/plugins/pages-manifest-plugin.js → .../webpack/plugins/pages-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
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
8 changes: 5 additions & 3 deletions
8
build/plugins/unlink-file-plugin.js → build/webpack/plugins/unlink-file-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// flow-typed signature: e7e7f59f1cdd9c963584b4620763fec3 | ||
// flow-typed version: <<STUB>>/uglifyjs-webpack-plugin_v1.1.6/flow_v0.73.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* 'uglifyjs-webpack-plugin' | ||
* | ||
* 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 'uglifyjs-webpack-plugin' { | ||
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 'uglifyjs-webpack-plugin/dist/cjs' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'uglifyjs-webpack-plugin/dist/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'uglifyjs-webpack-plugin/dist/uglify/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'uglifyjs-webpack-plugin/dist/uglify/minify' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'uglifyjs-webpack-plugin/dist/uglify/versions' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'uglifyjs-webpack-plugin/dist/uglify/worker' { | ||
declare module.exports: any; | ||
} | ||
|
||
// Filename aliases | ||
declare module 'uglifyjs-webpack-plugin/dist/cjs.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/cjs'>; | ||
} | ||
declare module 'uglifyjs-webpack-plugin/dist/index.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/index'>; | ||
} | ||
declare module 'uglifyjs-webpack-plugin/dist/uglify/index.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/index'>; | ||
} | ||
declare module 'uglifyjs-webpack-plugin/dist/uglify/minify.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/minify'>; | ||
} | ||
declare module 'uglifyjs-webpack-plugin/dist/uglify/versions.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/versions'>; | ||
} | ||
declare module 'uglifyjs-webpack-plugin/dist/uglify/worker.js' { | ||
declare module.exports: $Exports<'uglifyjs-webpack-plugin/dist/uglify/worker'>; | ||
} |
Oops, something went wrong.