From c2eaf26ea948704f2abbaaa5fcb77a63fd5691bc Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 21 Nov 2018 16:04:37 +0100 Subject: [PATCH] Remove flow types (#5704) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove flow-typed * Remove flow types * Remove the last types * Bring back taskr dependency * Revert "Bring back taskr dependency" This reverts commit 38cb95d7274d63fe63c6ac3c95ca358a28c17895. * Bring back preset-flow as it’s used for tests * Revert "Revert "Bring back taskr dependency"" This reverts commit b4c933ef133f4039f544fb10bf31d5c95d3b27a2. --- package.json | 2 +- packages/next-server/babel.config.js | 3 +- packages/next-server/lib/dynamic.js | 37 +- packages/next-server/lib/error-debug.js | 5 +- packages/next-server/server/config.js | 29 +- packages/next/babel.config.js | 3 +- packages/next/build/webpack.js | 16 +- .../webpack/loaders/hot-self-accept-loader.js | 12 +- .../webpack/plugins/build-manifest-plugin.js | 3 +- .../nextjs-require-cache-hot-reloader.js | 7 +- .../webpack/plugins/pages-manifest-plugin.js | 3 +- .../build/webpack/plugins/pages-plugin.js | 3 +- .../webpack/plugins/unlink-file-plugin.js | 4 +- packages/next/client/error-boundary.js | 16 +- packages/next/client/source-map-support.js | 5 +- .../npm/autodll-webpack-plugin_vx.x.x.js | 277 --- packages/next/flow-typed/npm/glob_vx.x.x.js | 46 - .../flow-typed/npm/loader-utils_vx.x.x.js | 102 - .../npm/react-lifecycles-compat_vx.x.x.js | 53 - .../next/flow-typed/npm/source-map_vx.x.x.js | 123 -- .../npm/terser-webpack-plugin_vx.x.x.js | 60 - .../npm/uglifyjs-webpack-plugin_vx.x.x.js | 67 - .../next/flow-typed/npm/unfetch_vx.x.x.js | 60 - .../flow-typed/npm/webpack-sources_vx.x.x.js | 102 - .../next/flow-typed/npm/webpack_vx.x.x.js | 1957 ----------------- .../next/flow-typed/npm/webpackbar_vx.x.x.js | 60 - packages/next/package.json | 2 - 27 files changed, 29 insertions(+), 3028 deletions(-) delete mode 100644 packages/next/flow-typed/npm/autodll-webpack-plugin_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/glob_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/loader-utils_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/react-lifecycles-compat_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/source-map_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/terser-webpack-plugin_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/uglifyjs-webpack-plugin_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/unfetch_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/webpack-sources_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/webpack_vx.x.x.js delete mode 100644 packages/next/flow-typed/npm/webpackbar_vx.x.x.js diff --git a/package.json b/package.json index c33acf99..eef2c097 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ }, "devDependencies": { "@babel/plugin-proposal-object-rest-spread": "7.0.0", + "@babel/preset-flow": "7.0.0", "@babel/preset-react": "7.0.0", "@zeit/next-css": "1.0.2-canary.2", "@zeit/next-sass": "1.0.2-canary.2", @@ -50,7 +51,6 @@ "express": "4.16.3", "fkill": "5.1.0", "flatten": "1.0.2", - "flow-bin": "0.73.0", "get-port": "3.2.0", "jest-cli": "23.6.0", "lerna": "^3.4.0", diff --git a/packages/next-server/babel.config.js b/packages/next-server/babel.config.js index e8d3b951..56fe8305 100644 --- a/packages/next-server/babel.config.js +++ b/packages/next-server/babel.config.js @@ -1,8 +1,7 @@ module.exports = { 'presets': [ '@babel/preset-env', - '@babel/preset-react', - '@babel/preset-flow' + '@babel/preset-react' ], 'plugins': [ '@babel/plugin-proposal-object-rest-spread', diff --git a/packages/next-server/lib/dynamic.js b/packages/next-server/lib/dynamic.js index d41edd17..b3ac8129 100644 --- a/packages/next-server/lib/dynamic.js +++ b/packages/next-server/lib/dynamic.js @@ -1,40 +1,9 @@ -// @flow -import type {ElementType} from 'react' - import React from 'react' import Loadable from './loadable' -type ImportedComponent = Promise - -type ComponentMapping = {[componentName: string]: ImportedComponent} - -type NextDynamicOptions = { - loader?: ComponentMapping | () => ImportedComponent, - loading: ElementType, - timeout?: number, - delay?: number, - ssr?: boolean, - render?: (props: any, loaded: {[componentName: string]: ElementType}) => ElementType, - modules?: () => ComponentMapping, - loadableGenerated?: { - webpack?: any, - modules?: any - } -} - -type LoadableOptions = { - loader?: ComponentMapping | () => ImportedComponent, - loading: ElementType, - timeout?: number, - delay?: number, - render?: (props: any, loaded: {[componentName: string]: ElementType}) => ElementType, - webpack?: any, - modules?: any -} - const isServerSide = typeof window === 'undefined' -export function noSSR (LoadableInitializer: (loadableOptions: LoadableOptions) => ElementType, loadableOptions: LoadableOptions) { +export function noSSR (LoadableInitializer, loadableOptions) { // Removing webpack and modules means react-loadable won't try preloading delete loadableOptions.webpack delete loadableOptions.modules @@ -52,9 +21,9 @@ function DefaultLoading () { return

loading...

} -export default function dynamic (dynamicOptions: any, options: NextDynamicOptions) { +export default function dynamic (dynamicOptions, options) { let loadableFn = Loadable - let loadableOptions: NextDynamicOptions = { + let loadableOptions = { // A loading component is not required, so we default it loading: ({error, isLoading}) => { if (process.env.NODE_ENV === 'development') { diff --git a/packages/next-server/lib/error-debug.js b/packages/next-server/lib/error-debug.js index b1292507..0a7a5a1b 100644 --- a/packages/next-server/lib/error-debug.js +++ b/packages/next-server/lib/error-debug.js @@ -1,11 +1,10 @@ -// @flow import React from 'react' import ansiHTML from 'ansi-html' import Head from 'next-server/head' // This component is rendered through dev-error-overlay on the client side. // On the server side it's rendered directly -export default function ErrorDebug ({error, info}: any) { +export default function ErrorDebug ({error, info}) { const { name, message, module } = error return (
@@ -22,7 +21,7 @@ export default function ErrorDebug ({error, info}: any) { ) } -const StackTrace = ({ error: { name, message, stack }, info }: any) => ( +const StackTrace = ({ error: { name, message, stack }, info }) => (
{message || name}
diff --git a/packages/next-server/server/config.js b/packages/next-server/server/config.js
index 80724eda..b560b475 100644
--- a/packages/next-server/server/config.js
+++ b/packages/next-server/server/config.js
@@ -1,25 +1,7 @@
-// @flow
 import findUp from 'find-up'
 import {CONFIG_FILE} from 'next-server/constants'
 
-type WebpackConfig = *
-
-type WebpackDevMiddlewareConfig = *
-
-export type NextConfig = {|
-  webpack: null | (webpackConfig: WebpackConfig, {dir: string, dev: boolean, isServer: boolean, buildId: string, config: NextConfig, defaultLoaders: {}, totalPages: number}) => WebpackConfig,
-  webpackDevMiddleware: null | (WebpackDevMiddlewareConfig: WebpackDevMiddlewareConfig) => WebpackDevMiddlewareConfig,
-  poweredByHeader: boolean,
-  distDir: string,
-  assetPrefix: string,
-  configOrigin: string,
-  useFileSystemPublicRoutes: boolean,
-  generateBuildId: () => string,
-  generateEtags: boolean,
-  pageExtensions: Array
-|}
-
-const defaultConfig: NextConfig = {
+const defaultConfig = {
   webpack: null,
   webpackDevMiddleware: null,
   poweredByHeader: true,
@@ -32,22 +14,19 @@ const defaultConfig: NextConfig = {
   pageExtensions: ['jsx', 'js']
 }
 
-type PhaseFunction = (phase: string, options: {defaultConfig: NextConfig}) => NextConfig
-
-export default function loadConfig (phase: string, dir: string, customConfig?: NextConfig): NextConfig {
+export default function loadConfig (phase, dir, customConfig) {
   if (customConfig) {
     customConfig.configOrigin = 'server'
     return {...defaultConfig, ...customConfig}
   }
-  const path: string = findUp.sync(CONFIG_FILE, {
+  const path = findUp.sync(CONFIG_FILE, {
     cwd: dir
   })
 
   // If config file was found
   if (path && path.length) {
-    // $FlowFixMe
     const userConfigModule = require(path)
-    const userConfigInitial: NextConfig | PhaseFunction = userConfigModule.default || userConfigModule
+    const userConfigInitial = userConfigModule.default || userConfigModule
     if (typeof userConfigInitial === 'function') {
       return {...defaultConfig, configOrigin: CONFIG_FILE, ...userConfigInitial(phase, {defaultConfig})}
     }
diff --git a/packages/next/babel.config.js b/packages/next/babel.config.js
index 8865de5d..4f0ab221 100644
--- a/packages/next/babel.config.js
+++ b/packages/next/babel.config.js
@@ -1,8 +1,7 @@
 module.exports = {
   'presets': [
     '@babel/preset-env',
-    '@babel/preset-react',
-    '@babel/preset-flow'
+    '@babel/preset-react'
   ],
   'plugins': [
     '@babel/plugin-syntax-dynamic-import',
diff --git a/packages/next/build/webpack.js b/packages/next/build/webpack.js
index 5e952c5d..429e35c5 100644
--- a/packages/next/build/webpack.js
+++ b/packages/next/build/webpack.js
@@ -1,5 +1,3 @@
-// @flow
-import type {NextConfig} from '../server/config'
 import path from 'path'
 import webpack from 'webpack'
 import resolve from 'resolve'
@@ -129,7 +127,7 @@ function optimizationConfig ({dir, dev, isServer, totalPages, lambdas}) {
     }
   }
 
-  const config: any = {
+  const config = {
     runtimeChunk: {
       name: CLIENT_STATIC_FILES_RUNTIME_WEBPACK
     },
@@ -178,15 +176,7 @@ function optimizationConfig ({dir, dev, isServer, totalPages, lambdas}) {
   return config
 }
 
-type BaseConfigContext = {|
-  dev: boolean,
-  isServer: boolean,
-  buildId: string,
-  config: NextConfig,
-  lambdas: boolean
-|}
-
-export default async function getBaseWebpackConfig (dir: string, {dev = false, isServer = false, buildId, config, lambdas = false}: BaseConfigContext) {
+export default async function getBaseWebpackConfig (dir, {dev = false, isServer = false, buildId, config, lambdas = false}) {
   const defaultLoaders = {
     babel: {
       loader: 'next-babel-loader',
@@ -355,7 +345,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
   // Backwards compat for `main.js` entry key
   const originalEntry = webpackConfig.entry
   webpackConfig.entry = async () => {
-    const entry: any = {...await originalEntry()}
+    const entry = {...await originalEntry()}
 
     // Server compilation doesn't have main.js
     if (typeof entry['main.js'] !== 'undefined') {
diff --git a/packages/next/build/webpack/loaders/hot-self-accept-loader.js b/packages/next/build/webpack/loaders/hot-self-accept-loader.js
index a12d88b5..c1d985a4 100644
--- a/packages/next/build/webpack/loaders/hot-self-accept-loader.js
+++ b/packages/next/build/webpack/loaders/hot-self-accept-loader.js
@@ -1,16 +1,10 @@
-// @flow
 import { relative } from 'path'
 import loaderUtils from 'loader-utils'
 
-type Options = {|
-  extensions: RegExp,
-  include: Array
-|}
-
-module.exports = function (content: string, sourceMap: any) {
+module.exports = function (content, sourceMap) {
   this.cacheable()
 
-  const options: Options = loaderUtils.getOptions(this)
+  const options = loaderUtils.getOptions(this)
   if (!options.extensions) {
     throw new Error('extensions is not provided to hot-self-accept-loader. Please upgrade all next-plugins to the latest version.')
   }
@@ -44,7 +38,7 @@ module.exports = function (content: string, sourceMap: any) {
   `, sourceMap)
 }
 
-function getRoute (resourcePath: string, options: Options) {
+function getRoute (resourcePath, options) {
   const dir = options.include.find((d) => resourcePath.indexOf(d) === 0)
 
   if (!dir) {
diff --git a/packages/next/build/webpack/plugins/build-manifest-plugin.js b/packages/next/build/webpack/plugins/build-manifest-plugin.js
index a4374c4b..ab3f28c7 100644
--- a/packages/next/build/webpack/plugins/build-manifest-plugin.js
+++ b/packages/next/build/webpack/plugins/build-manifest-plugin.js
@@ -1,11 +1,10 @@
-// @flow
 import { RawSource } from 'webpack-sources'
 import {BUILD_MANIFEST, ROUTE_NAME_REGEX, IS_BUNDLED_PAGE_REGEX, CLIENT_STATIC_FILES_RUNTIME_MAIN} from 'next-server/constants'
 
 // This plugin creates a build-manifest.json for all assets that are being output
 // It has a mapping of "entry" filename to real filename. Because the real filename can be hashed in production
 export default class BuildManifestPlugin {
-  apply (compiler: any) {
+  apply (compiler) {
     compiler.hooks.emit.tapAsync('NextJsBuildManifest', (compilation, callback) => {
       const {chunks} = compilation
       const assetMap = {devFiles: [], pages: {}}
diff --git a/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.js b/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.js
index a1869926..012a2734 100644
--- a/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.js
+++ b/packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.js
@@ -1,16 +1,13 @@
-// @flow
-
-function deleteCache (path: string) {
+function deleteCache (path) {
   delete require.cache[path]
 }
 
 // This plugin flushes require.cache after emitting the files. Providing 'hot reloading' of server files.
 export default class NextJsRequireCacheHotReloader {
-  prevAssets: null | {[string]: {existsAt: string}}
   constructor () {
     this.prevAssets = null
   }
-  apply (compiler: any) {
+  apply (compiler) {
     compiler.hooks.afterEmit.tapAsync('NextJsRequireCacheHotReloader', (compilation, callback) => {
       const { assets } = compilation
 
diff --git a/packages/next/build/webpack/plugins/pages-manifest-plugin.js b/packages/next/build/webpack/plugins/pages-manifest-plugin.js
index 9707df60..b7ac3550 100644
--- a/packages/next/build/webpack/plugins/pages-manifest-plugin.js
+++ b/packages/next/build/webpack/plugins/pages-manifest-plugin.js
@@ -1,4 +1,3 @@
-// @flow
 import { RawSource } from 'webpack-sources'
 import {PAGES_MANIFEST, ROUTE_NAME_REGEX} from 'next-server/constants'
 
@@ -6,7 +5,7 @@ import {PAGES_MANIFEST, ROUTE_NAME_REGEX} from 'next-server/constants'
 // This is used for mapping paths like `/` to `.next/server/static//pages/index.js` when doing SSR
 // It's also used by next export to provide defaultPathMap
 export default class PagesManifestPlugin {
-  apply (compiler: any) {
+  apply (compiler) {
     compiler.hooks.emit.tap('NextJsPagesManifest', (compilation) => {
       const {entries} = compilation
       const pages = {}
diff --git a/packages/next/build/webpack/plugins/pages-plugin.js b/packages/next/build/webpack/plugins/pages-plugin.js
index 19d73e3d..42927ef8 100644
--- a/packages/next/build/webpack/plugins/pages-plugin.js
+++ b/packages/next/build/webpack/plugins/pages-plugin.js
@@ -1,4 +1,3 @@
-// @flow
 import { ConcatSource } from 'webpack-sources'
 import {
   IS_BUNDLED_PAGE_REGEX,
@@ -6,7 +5,7 @@ import {
 } from 'next-server/constants'
 
 export default class PagesPlugin {
-  apply (compiler: any) {
+  apply (compiler) {
     compiler.hooks.compilation.tap('PagesPlugin', (compilation) => {
       // This hook is triggered right before a module gets wrapped into it's initializing function,
       // For example when you look at the source of a bundle you'll see an object holding `'pages/_app.js': function(module, etc, etc)`
diff --git a/packages/next/build/webpack/plugins/unlink-file-plugin.js b/packages/next/build/webpack/plugins/unlink-file-plugin.js
index 82f35486..1a99854a 100644
--- a/packages/next/build/webpack/plugins/unlink-file-plugin.js
+++ b/packages/next/build/webpack/plugins/unlink-file-plugin.js
@@ -1,4 +1,3 @@
-// @flow
 import { join } from 'path'
 import promisify from '../../../lib/promisify'
 import fs from 'fs'
@@ -8,12 +7,11 @@ const unlink = promisify(fs.unlink)
 
 // Makes sure removed pages are removed from `.next` in development
 export default class UnlinkFilePlugin {
-  prevAssets: any
   constructor () {
     this.prevAssets = {}
   }
 
-  apply (compiler: any) {
+  apply (compiler) {
     compiler.hooks.afterEmit.tapAsync('NextJsUnlinkRemovedPages', (compilation, callback) => {
       const removed = Object.keys(this.prevAssets)
         .filter((a) => IS_BUNDLED_PAGE_REGEX.test(a) && !compilation.assets[a])
diff --git a/packages/next/client/error-boundary.js b/packages/next/client/error-boundary.js
index c25cbdb7..cea3f9a5 100644
--- a/packages/next/client/error-boundary.js
+++ b/packages/next/client/error-boundary.js
@@ -1,17 +1,7 @@
-// @flow
-import * as React from 'react'
+import React from 'react'
 
-type ComponentDidCatchInfo = {
-  componentStack: string
-}
-
-type Props = {|
-  onError: (error: Error, info: ComponentDidCatchInfo) => void,
-  children: React.ComponentType<*>
-|}
-
-class ErrorBoundary extends React.Component {
-  componentDidCatch (error: Error, info: ComponentDidCatchInfo) {
+class ErrorBoundary extends React.Component {
+  componentDidCatch (error, info) {
     const {onError} = this.props
     // onError is required
     onError(error, info)
diff --git a/packages/next/client/source-map-support.js b/packages/next/client/source-map-support.js
index 1ff4a09b..4cb7418a 100644
--- a/packages/next/client/source-map-support.js
+++ b/packages/next/client/source-map-support.js
@@ -1,7 +1,6 @@
-// @flow
 const filenameRE = /\(([^)]+\.js):(\d+):(\d+)\)$/
 
-export function rewriteStacktrace (e: any, distDir: string): void {
+export function rewriteStacktrace (e, distDir) {
   if (!e || typeof e.stack !== 'string') {
     return
   }
@@ -15,7 +14,7 @@ export function rewriteStacktrace (e: any, distDir: string): void {
   e.stack = result.join('\n')
 }
 
-function rewriteTraceLine (trace: string, distDir: string): string {
+function rewriteTraceLine (trace, distDir) {
   const m = trace.match(filenameRE)
   if (m == null) {
     return trace
diff --git a/packages/next/flow-typed/npm/autodll-webpack-plugin_vx.x.x.js b/packages/next/flow-typed/npm/autodll-webpack-plugin_vx.x.x.js
deleted file mode 100644
index ddf2fde7..00000000
--- a/packages/next/flow-typed/npm/autodll-webpack-plugin_vx.x.x.js
+++ /dev/null
@@ -1,277 +0,0 @@
-// flow-typed signature: 6efcfad8e6dad5d1ef55854d4f6d2272
-// flow-typed version: <>/autodll-webpack-plugin_v0.4.2/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'autodll-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 'autodll-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 'autodll-webpack-plugin/lib/createCompileIfNeeded' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createConfig' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createHandleStats' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createHash' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createLogger' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createMemory' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/createSettings' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/getEnv' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/getInstanceIndex' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/index' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/mapParentConfig' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/normalizeEntry' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/paths' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/plugin' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/utils/fs' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/utils/index' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/utils/safeClone' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/lib/validateCache' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createCompileIfNeeded' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createConfig' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createHandleStats' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createHash' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createLogger' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createMemory' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/createSettings' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/getEnv' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/getInstanceIndex' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/index' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/mapParentConfig' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/normalizeEntry' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/paths' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/plugin' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/utils/fs' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/utils/index' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/utils/safeClone' {
-  declare module.exports: any;
-}
-
-declare module 'autodll-webpack-plugin/src/validateCache' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'autodll-webpack-plugin/lib/createCompileIfNeeded.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createCompileIfNeeded'>;
-}
-declare module 'autodll-webpack-plugin/lib/createConfig.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createConfig'>;
-}
-declare module 'autodll-webpack-plugin/lib/createHandleStats.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createHandleStats'>;
-}
-declare module 'autodll-webpack-plugin/lib/createHash.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createHash'>;
-}
-declare module 'autodll-webpack-plugin/lib/createLogger.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createLogger'>;
-}
-declare module 'autodll-webpack-plugin/lib/createMemory.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createMemory'>;
-}
-declare module 'autodll-webpack-plugin/lib/createSettings.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/createSettings'>;
-}
-declare module 'autodll-webpack-plugin/lib/getEnv.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/getEnv'>;
-}
-declare module 'autodll-webpack-plugin/lib/getInstanceIndex.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/getInstanceIndex'>;
-}
-declare module 'autodll-webpack-plugin/lib/index.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/index'>;
-}
-declare module 'autodll-webpack-plugin/lib/mapParentConfig.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/mapParentConfig'>;
-}
-declare module 'autodll-webpack-plugin/lib/normalizeEntry.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/normalizeEntry'>;
-}
-declare module 'autodll-webpack-plugin/lib/paths.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/paths'>;
-}
-declare module 'autodll-webpack-plugin/lib/plugin.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/plugin'>;
-}
-declare module 'autodll-webpack-plugin/lib/utils/fs.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/utils/fs'>;
-}
-declare module 'autodll-webpack-plugin/lib/utils/index.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/utils/index'>;
-}
-declare module 'autodll-webpack-plugin/lib/utils/safeClone.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/utils/safeClone'>;
-}
-declare module 'autodll-webpack-plugin/lib/validateCache.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/lib/validateCache'>;
-}
-declare module 'autodll-webpack-plugin/src/createCompileIfNeeded.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createCompileIfNeeded'>;
-}
-declare module 'autodll-webpack-plugin/src/createConfig.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createConfig'>;
-}
-declare module 'autodll-webpack-plugin/src/createHandleStats.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createHandleStats'>;
-}
-declare module 'autodll-webpack-plugin/src/createHash.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createHash'>;
-}
-declare module 'autodll-webpack-plugin/src/createLogger.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createLogger'>;
-}
-declare module 'autodll-webpack-plugin/src/createMemory.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createMemory'>;
-}
-declare module 'autodll-webpack-plugin/src/createSettings.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/createSettings'>;
-}
-declare module 'autodll-webpack-plugin/src/getEnv.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/getEnv'>;
-}
-declare module 'autodll-webpack-plugin/src/getInstanceIndex.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/getInstanceIndex'>;
-}
-declare module 'autodll-webpack-plugin/src/index.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/index'>;
-}
-declare module 'autodll-webpack-plugin/src/mapParentConfig.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/mapParentConfig'>;
-}
-declare module 'autodll-webpack-plugin/src/normalizeEntry.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/normalizeEntry'>;
-}
-declare module 'autodll-webpack-plugin/src/paths.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/paths'>;
-}
-declare module 'autodll-webpack-plugin/src/plugin.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/plugin'>;
-}
-declare module 'autodll-webpack-plugin/src/utils/fs.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/utils/fs'>;
-}
-declare module 'autodll-webpack-plugin/src/utils/index.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/utils/index'>;
-}
-declare module 'autodll-webpack-plugin/src/utils/safeClone.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/utils/safeClone'>;
-}
-declare module 'autodll-webpack-plugin/src/validateCache.js' {
-  declare module.exports: $Exports<'autodll-webpack-plugin/src/validateCache'>;
-}
diff --git a/packages/next/flow-typed/npm/glob_vx.x.x.js b/packages/next/flow-typed/npm/glob_vx.x.x.js
deleted file mode 100644
index cc7f947a..00000000
--- a/packages/next/flow-typed/npm/glob_vx.x.x.js
+++ /dev/null
@@ -1,46 +0,0 @@
-// flow-typed signature: 6d6b4e28b1ef5b7419a59c32761d27f5
-// flow-typed version: <>/glob_v7.1.2/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'glob'
- *
- * 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 'glob' {
-  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 'glob/common' {
-  declare module.exports: any;
-}
-
-declare module 'glob/glob' {
-  declare module.exports: any;
-}
-
-declare module 'glob/sync' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'glob/common.js' {
-  declare module.exports: $Exports<'glob/common'>;
-}
-declare module 'glob/glob.js' {
-  declare module.exports: $Exports<'glob/glob'>;
-}
-declare module 'glob/sync.js' {
-  declare module.exports: $Exports<'glob/sync'>;
-}
diff --git a/packages/next/flow-typed/npm/loader-utils_vx.x.x.js b/packages/next/flow-typed/npm/loader-utils_vx.x.x.js
deleted file mode 100644
index 617e83d2..00000000
--- a/packages/next/flow-typed/npm/loader-utils_vx.x.x.js
+++ /dev/null
@@ -1,102 +0,0 @@
-// flow-typed signature: fbec9bc08efb50bade7bd6c2bab84e41
-// flow-typed version: <>/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'>;
-}
diff --git a/packages/next/flow-typed/npm/react-lifecycles-compat_vx.x.x.js b/packages/next/flow-typed/npm/react-lifecycles-compat_vx.x.x.js
deleted file mode 100644
index 6b3f50d9..00000000
--- a/packages/next/flow-typed/npm/react-lifecycles-compat_vx.x.x.js
+++ /dev/null
@@ -1,53 +0,0 @@
-// flow-typed signature: 729d832efcac0a21ab881042caf78e1e
-// flow-typed version: <>/react-lifecycles-compat_v3.0.4/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'react-lifecycles-compat'
- *
- * 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 'react-lifecycles-compat' {
-  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 'react-lifecycles-compat/react-lifecycles-compat.cjs' {
-  declare module.exports: any;
-}
-
-declare module 'react-lifecycles-compat/react-lifecycles-compat.es' {
-  declare module.exports: any;
-}
-
-declare module 'react-lifecycles-compat/react-lifecycles-compat' {
-  declare module.exports: any;
-}
-
-declare module 'react-lifecycles-compat/react-lifecycles-compat.min' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'react-lifecycles-compat/react-lifecycles-compat.cjs.js' {
-  declare module.exports: $Exports<'react-lifecycles-compat/react-lifecycles-compat.cjs'>;
-}
-declare module 'react-lifecycles-compat/react-lifecycles-compat.es.js' {
-  declare module.exports: $Exports<'react-lifecycles-compat/react-lifecycles-compat.es'>;
-}
-declare module 'react-lifecycles-compat/react-lifecycles-compat.js' {
-  declare module.exports: $Exports<'react-lifecycles-compat/react-lifecycles-compat'>;
-}
-declare module 'react-lifecycles-compat/react-lifecycles-compat.min.js' {
-  declare module.exports: $Exports<'react-lifecycles-compat/react-lifecycles-compat.min'>;
-}
diff --git a/packages/next/flow-typed/npm/source-map_vx.x.x.js b/packages/next/flow-typed/npm/source-map_vx.x.x.js
deleted file mode 100644
index 16fbcdc4..00000000
--- a/packages/next/flow-typed/npm/source-map_vx.x.x.js
+++ /dev/null
@@ -1,123 +0,0 @@
-// flow-typed signature: 4307ae4d07743816402f6fe06ed629ad
-// flow-typed version: <>/source-map_v0.5.7/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'source-map'
- *
- * 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 'source-map' {
-  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 'source-map/dist/source-map.debug' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/dist/source-map' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/dist/source-map.min' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/array-set' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/base64-vlq' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/base64' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/binary-search' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/mapping-list' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/quick-sort' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/source-map-consumer' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/source-map-generator' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/source-node' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/lib/util' {
-  declare module.exports: any;
-}
-
-declare module 'source-map/source-map' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'source-map/dist/source-map.debug.js' {
-  declare module.exports: $Exports<'source-map/dist/source-map.debug'>;
-}
-declare module 'source-map/dist/source-map.js' {
-  declare module.exports: $Exports<'source-map/dist/source-map'>;
-}
-declare module 'source-map/dist/source-map.min.js' {
-  declare module.exports: $Exports<'source-map/dist/source-map.min'>;
-}
-declare module 'source-map/lib/array-set.js' {
-  declare module.exports: $Exports<'source-map/lib/array-set'>;
-}
-declare module 'source-map/lib/base64-vlq.js' {
-  declare module.exports: $Exports<'source-map/lib/base64-vlq'>;
-}
-declare module 'source-map/lib/base64.js' {
-  declare module.exports: $Exports<'source-map/lib/base64'>;
-}
-declare module 'source-map/lib/binary-search.js' {
-  declare module.exports: $Exports<'source-map/lib/binary-search'>;
-}
-declare module 'source-map/lib/mapping-list.js' {
-  declare module.exports: $Exports<'source-map/lib/mapping-list'>;
-}
-declare module 'source-map/lib/quick-sort.js' {
-  declare module.exports: $Exports<'source-map/lib/quick-sort'>;
-}
-declare module 'source-map/lib/source-map-consumer.js' {
-  declare module.exports: $Exports<'source-map/lib/source-map-consumer'>;
-}
-declare module 'source-map/lib/source-map-generator.js' {
-  declare module.exports: $Exports<'source-map/lib/source-map-generator'>;
-}
-declare module 'source-map/lib/source-node.js' {
-  declare module.exports: $Exports<'source-map/lib/source-node'>;
-}
-declare module 'source-map/lib/util.js' {
-  declare module.exports: $Exports<'source-map/lib/util'>;
-}
-declare module 'source-map/source-map.js' {
-  declare module.exports: $Exports<'source-map/source-map'>;
-}
diff --git a/packages/next/flow-typed/npm/terser-webpack-plugin_vx.x.x.js b/packages/next/flow-typed/npm/terser-webpack-plugin_vx.x.x.js
deleted file mode 100644
index 84b88f2e..00000000
--- a/packages/next/flow-typed/npm/terser-webpack-plugin_vx.x.x.js
+++ /dev/null
@@ -1,60 +0,0 @@
-// flow-typed signature: 7f0a5671a6d757d5e9f880e207a37572
-// flow-typed version: <>/terser-webpack-plugin_v1.0.2/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'terser-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 'terser-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 'terser-webpack-plugin/dist/cjs' {
-  declare module.exports: any;
-}
-
-declare module 'terser-webpack-plugin/dist/index' {
-  declare module.exports: any;
-}
-
-declare module 'terser-webpack-plugin/dist/minify' {
-  declare module.exports: any;
-}
-
-declare module 'terser-webpack-plugin/dist/TaskRunner' {
-  declare module.exports: any;
-}
-
-declare module 'terser-webpack-plugin/dist/worker' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'terser-webpack-plugin/dist/cjs.js' {
-  declare module.exports: $Exports<'terser-webpack-plugin/dist/cjs'>;
-}
-declare module 'terser-webpack-plugin/dist/index.js' {
-  declare module.exports: $Exports<'terser-webpack-plugin/dist/index'>;
-}
-declare module 'terser-webpack-plugin/dist/minify.js' {
-  declare module.exports: $Exports<'terser-webpack-plugin/dist/minify'>;
-}
-declare module 'terser-webpack-plugin/dist/TaskRunner.js' {
-  declare module.exports: $Exports<'terser-webpack-plugin/dist/TaskRunner'>;
-}
-declare module 'terser-webpack-plugin/dist/worker.js' {
-  declare module.exports: $Exports<'terser-webpack-plugin/dist/worker'>;
-}
diff --git a/packages/next/flow-typed/npm/uglifyjs-webpack-plugin_vx.x.x.js b/packages/next/flow-typed/npm/uglifyjs-webpack-plugin_vx.x.x.js
deleted file mode 100644
index e46f0e7b..00000000
--- a/packages/next/flow-typed/npm/uglifyjs-webpack-plugin_vx.x.x.js
+++ /dev/null
@@ -1,67 +0,0 @@
-// flow-typed signature: e7e7f59f1cdd9c963584b4620763fec3
-// flow-typed version: <>/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'>;
-}
diff --git a/packages/next/flow-typed/npm/unfetch_vx.x.x.js b/packages/next/flow-typed/npm/unfetch_vx.x.x.js
deleted file mode 100644
index 2c937eae..00000000
--- a/packages/next/flow-typed/npm/unfetch_vx.x.x.js
+++ /dev/null
@@ -1,60 +0,0 @@
-// flow-typed signature: a652d8adeb137f15eeb79e87d8238710
-// flow-typed version: <>/unfetch_v3.0.0/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'unfetch'
- *
- * 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 'unfetch' {
-  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 'unfetch/dist/unfetch.es' {
-  declare module.exports: any;
-}
-
-declare module 'unfetch/dist/unfetch' {
-  declare module.exports: any;
-}
-
-declare module 'unfetch/dist/unfetch.umd' {
-  declare module.exports: any;
-}
-
-declare module 'unfetch/polyfill' {
-  declare module.exports: any;
-}
-
-declare module 'unfetch/src/index' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'unfetch/dist/unfetch.es.js' {
-  declare module.exports: $Exports<'unfetch/dist/unfetch.es'>;
-}
-declare module 'unfetch/dist/unfetch.js' {
-  declare module.exports: $Exports<'unfetch/dist/unfetch'>;
-}
-declare module 'unfetch/dist/unfetch.umd.js' {
-  declare module.exports: $Exports<'unfetch/dist/unfetch.umd'>;
-}
-declare module 'unfetch/polyfill.js' {
-  declare module.exports: $Exports<'unfetch/polyfill'>;
-}
-declare module 'unfetch/src/index.js' {
-  declare module.exports: $Exports<'unfetch/src/index'>;
-}
diff --git a/packages/next/flow-typed/npm/webpack-sources_vx.x.x.js b/packages/next/flow-typed/npm/webpack-sources_vx.x.x.js
deleted file mode 100644
index cbe47577..00000000
--- a/packages/next/flow-typed/npm/webpack-sources_vx.x.x.js
+++ /dev/null
@@ -1,102 +0,0 @@
-// flow-typed signature: d41ce38862b325831cb20e57893195bc
-// flow-typed version: <>/webpack-sources_v1.1.0/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'webpack-sources'
- *
- * 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 'webpack-sources' {
-  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 'webpack-sources/lib/CachedSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/ConcatSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/index' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/LineToLineMappedSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/OriginalSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/PrefixSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/RawSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/ReplaceSource' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/Source' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/SourceAndMapMixin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack-sources/lib/SourceMapSource' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'webpack-sources/lib/CachedSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/CachedSource'>;
-}
-declare module 'webpack-sources/lib/ConcatSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/ConcatSource'>;
-}
-declare module 'webpack-sources/lib/index.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/index'>;
-}
-declare module 'webpack-sources/lib/LineToLineMappedSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/LineToLineMappedSource'>;
-}
-declare module 'webpack-sources/lib/OriginalSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/OriginalSource'>;
-}
-declare module 'webpack-sources/lib/PrefixSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/PrefixSource'>;
-}
-declare module 'webpack-sources/lib/RawSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/RawSource'>;
-}
-declare module 'webpack-sources/lib/ReplaceSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/ReplaceSource'>;
-}
-declare module 'webpack-sources/lib/Source.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/Source'>;
-}
-declare module 'webpack-sources/lib/SourceAndMapMixin.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/SourceAndMapMixin'>;
-}
-declare module 'webpack-sources/lib/SourceMapSource.js' {
-  declare module.exports: $Exports<'webpack-sources/lib/SourceMapSource'>;
-}
diff --git a/packages/next/flow-typed/npm/webpack_vx.x.x.js b/packages/next/flow-typed/npm/webpack_vx.x.x.js
deleted file mode 100644
index 859d6fa9..00000000
--- a/packages/next/flow-typed/npm/webpack_vx.x.x.js
+++ /dev/null
@@ -1,1957 +0,0 @@
-// flow-typed signature: 2093c91d0ee2e656d5a5b090b4d7f59c
-// flow-typed version: <>/webpack_v3.10.0/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'webpack'
- *
- * 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 'webpack' {
-  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 'webpack/bin/config-optimist' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/bin/config-yargs' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/bin/convert-argv' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/bin/webpack' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/amd-define' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/amd-options' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/global' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/harmony-module' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/module' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/buildin/system' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/dev-server' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/emitter' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/log-apply-result' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/log' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/only-dev-server' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/poll' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/hot/signal' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/AmdMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/APIPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/AsyncDependenciesBlock' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/AsyncDependencyToInitialChunkWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/AutomaticPrefetchPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/BannerPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/BasicEvaluatedExpression' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/CachePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/CaseSensitiveModulesWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Chunk' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ChunkRenderError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ChunkTemplate' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/compareLocations' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/CompatibilityPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Compilation' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Compiler' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ConstPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ContextExclusionPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ContextModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ContextModuleFactory' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ContextReplacementPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DefinePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DelegatedModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DelegatedModuleFactoryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DelegatedPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDDefineDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDDefineDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireArrayDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlock' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/AMDRequireItemDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/CommonJsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/CommonJsRequireContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/CommonJsRequireDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ConstDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ContextDependencyHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsId' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ContextElementDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/CriticalDependencyWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/DelegatedExportsDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/DelegatedSourceDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/DepBlockHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/DllEntryDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/getFunctionExpression' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyAcceptDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyAcceptImportDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyCompatibilityDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyDetectionParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyExportDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyExportExpressionDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyExportHeaderDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyExportSpecifierDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyImportDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyImportSpecifierDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyModulesHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/HarmonyModulesPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportDependenciesBlock' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportEagerContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportEagerDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportLazyContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportLazyOnceContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportWeakContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ImportWeakDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/LoaderDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/LoaderPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/LocalModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/LocalModuleDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/LocalModulesHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ModuleDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsId' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ModuleHotAcceptDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/ModuleHotDeclineDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/MultiEntryDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/NullDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/PrefetchDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireContextDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireContextPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlock' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireEnsureDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireEnsureItemDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireEnsurePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireHeaderDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireIncludeDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireIncludePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireResolveContextDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireResolveDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireResolveDependencyParserPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/RequireResolveHeaderDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/SingleEntryDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/SystemPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/UnsupportedDependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/dependencies/WebpackMissingModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DependenciesBlock' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DependenciesBlockVariable' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Dependency' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DllEntryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DllModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DllModuleFactory' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DllPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DllReferencePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/DynamicEntryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EntryModuleNotFoundError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EntryOptionPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Entrypoint' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EnvironmentPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ErrorHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EvalDevToolModulePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EvalDevToolModuleTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/EvalSourceMapDevToolPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ExportPropertyMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ExtendedAPIPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ExternalModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ExternalModuleFactoryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ExternalsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/FlagDependencyExportsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/FlagDependencyUsagePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/FlagInitialModulesAsUsedPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/formatLocation' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/FunctionModulePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/FunctionModuleTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/HashedModuleIdsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/HotModuleReplacement.runtime' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/HotModuleReplacementPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/HotUpdateChunkTemplate' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/IgnorePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpExportMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpMainTemplate.runtime' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/JsonpTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/LibManifestPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/LibraryTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/LoaderOptionsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/LoaderTargetPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MainTemplate' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MemoryOutputFileSystem' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Module' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleBuildError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleDependencyError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleDependencyWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleFilenameHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleNotFoundError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleParseError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleReason' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleTemplate' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ModuleWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MovedToPluginWarningPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiCompiler' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiEntryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiModuleFactory' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiStats' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/MultiWatching' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NamedChunksPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NamedModulesPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NewWatchingPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeEnvironmentPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeMainTemplate.runtime' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeMainTemplateAsync.runtime' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeOutputFileSystem' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeSourcePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeTargetPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/node/NodeWatchFileSystem' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NodeStuffPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NoEmitOnErrorsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NoErrorsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NormalModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NormalModuleFactory' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NormalModuleReplacementPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/NullFactory' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/AggressiveMergingPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/AggressiveSplittingPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/ChunkModuleIdRangePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/CommonsChunkPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/ConcatenatedModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/DedupePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/EnsureChunkConditionsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/FlagIncludedChunksPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/LimitChunkCountPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/MergeDuplicateChunksPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/MinChunkSizePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/ModuleConcatenationPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/OccurrenceOrderPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/RemoveEmptyChunksPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/RemoveParentModulesPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/optimize/UglifyJsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/OptionsApply' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/OptionsDefaulter' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Parser' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ParserHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/performance/AssetsOverSizeLimitWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/performance/EntrypointsOverSizeLimitWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/performance/NoAsyncChunksWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/performance/SizeLimitsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/PrefetchPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/prepareOptions' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ProgressPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/ProvidePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/RawModule' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/RecordIdsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/removeAndDo' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/RequestShortener' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/RequireJsStuffPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/RuleSet' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/SetVarMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/SingleEntryPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/SizeFormatHelpers' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/SourceMapDevToolModuleOptionsPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/SourceMapDevToolPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Stats' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/Template' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/TemplatedPathPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/UmdMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/UnsupportedFeatureWarning' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/UseStrictPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/util/identifier' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/util/Queue' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/util/Semaphore' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/util/SortableSet' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/validateSchema' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WatchIgnorePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/web/WebEnvironmentPlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webpack' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webpack.web' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WebpackError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WebpackOptionsApply' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WebpackOptionsDefaulter' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/WebpackOptionsValidationError' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webworker/WebWorkerChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webworker/WebWorkerMainTemplate.runtime' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webworker/WebWorkerMainTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/lib/webworker/WebWorkerTemplatePlugin' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/schemas/ajv.absolutePath' {
-  declare module.exports: any;
-}
-
-declare module 'webpack/web_modules/node-libs-browser' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'webpack/bin/config-optimist.js' {
-  declare module.exports: $Exports<'webpack/bin/config-optimist'>;
-}
-declare module 'webpack/bin/config-yargs.js' {
-  declare module.exports: $Exports<'webpack/bin/config-yargs'>;
-}
-declare module 'webpack/bin/convert-argv.js' {
-  declare module.exports: $Exports<'webpack/bin/convert-argv'>;
-}
-declare module 'webpack/bin/webpack.js' {
-  declare module.exports: $Exports<'webpack/bin/webpack'>;
-}
-declare module 'webpack/buildin/amd-define.js' {
-  declare module.exports: $Exports<'webpack/buildin/amd-define'>;
-}
-declare module 'webpack/buildin/amd-options.js' {
-  declare module.exports: $Exports<'webpack/buildin/amd-options'>;
-}
-declare module 'webpack/buildin/global.js' {
-  declare module.exports: $Exports<'webpack/buildin/global'>;
-}
-declare module 'webpack/buildin/harmony-module.js' {
-  declare module.exports: $Exports<'webpack/buildin/harmony-module'>;
-}
-declare module 'webpack/buildin/module.js' {
-  declare module.exports: $Exports<'webpack/buildin/module'>;
-}
-declare module 'webpack/buildin/system.js' {
-  declare module.exports: $Exports<'webpack/buildin/system'>;
-}
-declare module 'webpack/hot/dev-server.js' {
-  declare module.exports: $Exports<'webpack/hot/dev-server'>;
-}
-declare module 'webpack/hot/emitter.js' {
-  declare module.exports: $Exports<'webpack/hot/emitter'>;
-}
-declare module 'webpack/hot/log-apply-result.js' {
-  declare module.exports: $Exports<'webpack/hot/log-apply-result'>;
-}
-declare module 'webpack/hot/log.js' {
-  declare module.exports: $Exports<'webpack/hot/log'>;
-}
-declare module 'webpack/hot/only-dev-server.js' {
-  declare module.exports: $Exports<'webpack/hot/only-dev-server'>;
-}
-declare module 'webpack/hot/poll.js' {
-  declare module.exports: $Exports<'webpack/hot/poll'>;
-}
-declare module 'webpack/hot/signal.js' {
-  declare module.exports: $Exports<'webpack/hot/signal'>;
-}
-declare module 'webpack/lib/AmdMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/AmdMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/APIPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/APIPlugin'>;
-}
-declare module 'webpack/lib/AsyncDependenciesBlock.js' {
-  declare module.exports: $Exports<'webpack/lib/AsyncDependenciesBlock'>;
-}
-declare module 'webpack/lib/AsyncDependencyToInitialChunkWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/AsyncDependencyToInitialChunkWarning'>;
-}
-declare module 'webpack/lib/AutomaticPrefetchPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/AutomaticPrefetchPlugin'>;
-}
-declare module 'webpack/lib/BannerPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/BannerPlugin'>;
-}
-declare module 'webpack/lib/BasicEvaluatedExpression.js' {
-  declare module.exports: $Exports<'webpack/lib/BasicEvaluatedExpression'>;
-}
-declare module 'webpack/lib/CachePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/CachePlugin'>;
-}
-declare module 'webpack/lib/CaseSensitiveModulesWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/CaseSensitiveModulesWarning'>;
-}
-declare module 'webpack/lib/Chunk.js' {
-  declare module.exports: $Exports<'webpack/lib/Chunk'>;
-}
-declare module 'webpack/lib/ChunkRenderError.js' {
-  declare module.exports: $Exports<'webpack/lib/ChunkRenderError'>;
-}
-declare module 'webpack/lib/ChunkTemplate.js' {
-  declare module.exports: $Exports<'webpack/lib/ChunkTemplate'>;
-}
-declare module 'webpack/lib/compareLocations.js' {
-  declare module.exports: $Exports<'webpack/lib/compareLocations'>;
-}
-declare module 'webpack/lib/CompatibilityPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/CompatibilityPlugin'>;
-}
-declare module 'webpack/lib/Compilation.js' {
-  declare module.exports: $Exports<'webpack/lib/Compilation'>;
-}
-declare module 'webpack/lib/Compiler.js' {
-  declare module.exports: $Exports<'webpack/lib/Compiler'>;
-}
-declare module 'webpack/lib/ConstPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ConstPlugin'>;
-}
-declare module 'webpack/lib/ContextExclusionPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ContextExclusionPlugin'>;
-}
-declare module 'webpack/lib/ContextModule.js' {
-  declare module.exports: $Exports<'webpack/lib/ContextModule'>;
-}
-declare module 'webpack/lib/ContextModuleFactory.js' {
-  declare module.exports: $Exports<'webpack/lib/ContextModuleFactory'>;
-}
-declare module 'webpack/lib/ContextReplacementPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ContextReplacementPlugin'>;
-}
-declare module 'webpack/lib/DefinePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DefinePlugin'>;
-}
-declare module 'webpack/lib/DelegatedModule.js' {
-  declare module.exports: $Exports<'webpack/lib/DelegatedModule'>;
-}
-declare module 'webpack/lib/DelegatedModuleFactoryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DelegatedModuleFactoryPlugin'>;
-}
-declare module 'webpack/lib/DelegatedPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DelegatedPlugin'>;
-}
-declare module 'webpack/lib/dependencies/AMDDefineDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDDefineDependency'>;
-}
-declare module 'webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDDefineDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/AMDPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDPlugin'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireArrayDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireArrayDependency'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlock.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependenciesBlock'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireDependency'>;
-}
-declare module 'webpack/lib/dependencies/AMDRequireItemDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/AMDRequireItemDependency'>;
-}
-declare module 'webpack/lib/dependencies/CommonJsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsPlugin'>;
-}
-declare module 'webpack/lib/dependencies/CommonJsRequireContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/CommonJsRequireDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireDependency'>;
-}
-declare module 'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/CommonJsRequireDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/ConstDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ConstDependency'>;
-}
-declare module 'webpack/lib/dependencies/ContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ContextDependencyHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyHelpers'>;
-}
-declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsId.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyTemplateAsId'>;
-}
-declare module 'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall'>;
-}
-declare module 'webpack/lib/dependencies/ContextElementDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ContextElementDependency'>;
-}
-declare module 'webpack/lib/dependencies/CriticalDependencyWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/CriticalDependencyWarning'>;
-}
-declare module 'webpack/lib/dependencies/DelegatedExportsDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/DelegatedExportsDependency'>;
-}
-declare module 'webpack/lib/dependencies/DelegatedSourceDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/DelegatedSourceDependency'>;
-}
-declare module 'webpack/lib/dependencies/DepBlockHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/DepBlockHelpers'>;
-}
-declare module 'webpack/lib/dependencies/DllEntryDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/DllEntryDependency'>;
-}
-declare module 'webpack/lib/dependencies/getFunctionExpression.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/getFunctionExpression'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyAcceptDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyAcceptDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyAcceptImportDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyAcceptImportDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyCompatibilityDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyCompatibilityDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyDetectionParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyDetectionParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyExportDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyExportExpressionDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyExportExpressionDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyExportHeaderDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyExportHeaderDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyExportSpecifierDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyExportSpecifierDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyImportDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyImportSpecifierDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyImportSpecifierDependency'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyModulesHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyModulesHelpers'>;
-}
-declare module 'webpack/lib/dependencies/HarmonyModulesPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/HarmonyModulesPlugin'>;
-}
-declare module 'webpack/lib/dependencies/ImportContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportDependenciesBlock.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportDependenciesBlock'>;
-}
-declare module 'webpack/lib/dependencies/ImportDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportEagerContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportEagerContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportEagerDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportEagerDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportLazyContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportLazyContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportLazyOnceContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportLazyOnceContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/ImportPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportPlugin'>;
-}
-declare module 'webpack/lib/dependencies/ImportWeakContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportWeakContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/ImportWeakDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ImportWeakDependency'>;
-}
-declare module 'webpack/lib/dependencies/LoaderDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/LoaderDependency'>;
-}
-declare module 'webpack/lib/dependencies/LoaderPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/LoaderPlugin'>;
-}
-declare module 'webpack/lib/dependencies/LocalModule.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/LocalModule'>;
-}
-declare module 'webpack/lib/dependencies/LocalModuleDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/LocalModuleDependency'>;
-}
-declare module 'webpack/lib/dependencies/LocalModulesHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/LocalModulesHelpers'>;
-}
-declare module 'webpack/lib/dependencies/ModuleDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependency'>;
-}
-declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsId.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependencyTemplateAsId'>;
-}
-declare module 'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId'>;
-}
-declare module 'webpack/lib/dependencies/ModuleHotAcceptDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ModuleHotAcceptDependency'>;
-}
-declare module 'webpack/lib/dependencies/ModuleHotDeclineDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/ModuleHotDeclineDependency'>;
-}
-declare module 'webpack/lib/dependencies/MultiEntryDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/MultiEntryDependency'>;
-}
-declare module 'webpack/lib/dependencies/NullDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/NullDependency'>;
-}
-declare module 'webpack/lib/dependencies/PrefetchDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/PrefetchDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireContextDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireContextPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireContextPlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlock.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependenciesBlock'>;
-}
-declare module 'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireEnsureDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireEnsureItemDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsureItemDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireEnsurePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireEnsurePlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireHeaderDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireHeaderDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireIncludeDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludeDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludeDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireIncludePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireIncludePlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireResolveContextDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveContextDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireResolveDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveDependency'>;
-}
-declare module 'webpack/lib/dependencies/RequireResolveDependencyParserPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveDependencyParserPlugin'>;
-}
-declare module 'webpack/lib/dependencies/RequireResolveHeaderDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/RequireResolveHeaderDependency'>;
-}
-declare module 'webpack/lib/dependencies/SingleEntryDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/SingleEntryDependency'>;
-}
-declare module 'webpack/lib/dependencies/SystemPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/SystemPlugin'>;
-}
-declare module 'webpack/lib/dependencies/UnsupportedDependency.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/UnsupportedDependency'>;
-}
-declare module 'webpack/lib/dependencies/WebpackMissingModule.js' {
-  declare module.exports: $Exports<'webpack/lib/dependencies/WebpackMissingModule'>;
-}
-declare module 'webpack/lib/DependenciesBlock.js' {
-  declare module.exports: $Exports<'webpack/lib/DependenciesBlock'>;
-}
-declare module 'webpack/lib/DependenciesBlockVariable.js' {
-  declare module.exports: $Exports<'webpack/lib/DependenciesBlockVariable'>;
-}
-declare module 'webpack/lib/Dependency.js' {
-  declare module.exports: $Exports<'webpack/lib/Dependency'>;
-}
-declare module 'webpack/lib/DllEntryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DllEntryPlugin'>;
-}
-declare module 'webpack/lib/DllModule.js' {
-  declare module.exports: $Exports<'webpack/lib/DllModule'>;
-}
-declare module 'webpack/lib/DllModuleFactory.js' {
-  declare module.exports: $Exports<'webpack/lib/DllModuleFactory'>;
-}
-declare module 'webpack/lib/DllPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DllPlugin'>;
-}
-declare module 'webpack/lib/DllReferencePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DllReferencePlugin'>;
-}
-declare module 'webpack/lib/DynamicEntryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/DynamicEntryPlugin'>;
-}
-declare module 'webpack/lib/EntryModuleNotFoundError.js' {
-  declare module.exports: $Exports<'webpack/lib/EntryModuleNotFoundError'>;
-}
-declare module 'webpack/lib/EntryOptionPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EntryOptionPlugin'>;
-}
-declare module 'webpack/lib/Entrypoint.js' {
-  declare module.exports: $Exports<'webpack/lib/Entrypoint'>;
-}
-declare module 'webpack/lib/EnvironmentPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EnvironmentPlugin'>;
-}
-declare module 'webpack/lib/ErrorHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/ErrorHelpers'>;
-}
-declare module 'webpack/lib/EvalDevToolModulePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EvalDevToolModulePlugin'>;
-}
-declare module 'webpack/lib/EvalDevToolModuleTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EvalDevToolModuleTemplatePlugin'>;
-}
-declare module 'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin'>;
-}
-declare module 'webpack/lib/EvalSourceMapDevToolPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/EvalSourceMapDevToolPlugin'>;
-}
-declare module 'webpack/lib/ExportPropertyMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ExportPropertyMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/ExtendedAPIPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ExtendedAPIPlugin'>;
-}
-declare module 'webpack/lib/ExternalModule.js' {
-  declare module.exports: $Exports<'webpack/lib/ExternalModule'>;
-}
-declare module 'webpack/lib/ExternalModuleFactoryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ExternalModuleFactoryPlugin'>;
-}
-declare module 'webpack/lib/ExternalsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ExternalsPlugin'>;
-}
-declare module 'webpack/lib/FlagDependencyExportsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/FlagDependencyExportsPlugin'>;
-}
-declare module 'webpack/lib/FlagDependencyUsagePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/FlagDependencyUsagePlugin'>;
-}
-declare module 'webpack/lib/FlagInitialModulesAsUsedPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/FlagInitialModulesAsUsedPlugin'>;
-}
-declare module 'webpack/lib/formatLocation.js' {
-  declare module.exports: $Exports<'webpack/lib/formatLocation'>;
-}
-declare module 'webpack/lib/FunctionModulePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/FunctionModulePlugin'>;
-}
-declare module 'webpack/lib/FunctionModuleTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/FunctionModuleTemplatePlugin'>;
-}
-declare module 'webpack/lib/HashedModuleIdsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/HashedModuleIdsPlugin'>;
-}
-declare module 'webpack/lib/HotModuleReplacement.runtime.js' {
-  declare module.exports: $Exports<'webpack/lib/HotModuleReplacement.runtime'>;
-}
-declare module 'webpack/lib/HotModuleReplacementPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/HotModuleReplacementPlugin'>;
-}
-declare module 'webpack/lib/HotUpdateChunkTemplate.js' {
-  declare module.exports: $Exports<'webpack/lib/HotUpdateChunkTemplate'>;
-}
-declare module 'webpack/lib/IgnorePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/IgnorePlugin'>;
-}
-declare module 'webpack/lib/JsonpChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/JsonpExportMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpExportMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/JsonpHotUpdateChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpHotUpdateChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/JsonpMainTemplate.runtime.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpMainTemplate.runtime'>;
-}
-declare module 'webpack/lib/JsonpMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/JsonpTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/JsonpTemplatePlugin'>;
-}
-declare module 'webpack/lib/LibManifestPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/LibManifestPlugin'>;
-}
-declare module 'webpack/lib/LibraryTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/LibraryTemplatePlugin'>;
-}
-declare module 'webpack/lib/LoaderOptionsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/LoaderOptionsPlugin'>;
-}
-declare module 'webpack/lib/LoaderTargetPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/LoaderTargetPlugin'>;
-}
-declare module 'webpack/lib/MainTemplate.js' {
-  declare module.exports: $Exports<'webpack/lib/MainTemplate'>;
-}
-declare module 'webpack/lib/MemoryOutputFileSystem.js' {
-  declare module.exports: $Exports<'webpack/lib/MemoryOutputFileSystem'>;
-}
-declare module 'webpack/lib/Module.js' {
-  declare module.exports: $Exports<'webpack/lib/Module'>;
-}
-declare module 'webpack/lib/ModuleBuildError.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleBuildError'>;
-}
-declare module 'webpack/lib/ModuleDependencyError.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleDependencyError'>;
-}
-declare module 'webpack/lib/ModuleDependencyWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleDependencyWarning'>;
-}
-declare module 'webpack/lib/ModuleError.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleError'>;
-}
-declare module 'webpack/lib/ModuleFilenameHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleFilenameHelpers'>;
-}
-declare module 'webpack/lib/ModuleNotFoundError.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleNotFoundError'>;
-}
-declare module 'webpack/lib/ModuleParseError.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleParseError'>;
-}
-declare module 'webpack/lib/ModuleReason.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleReason'>;
-}
-declare module 'webpack/lib/ModuleTemplate.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleTemplate'>;
-}
-declare module 'webpack/lib/ModuleWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/ModuleWarning'>;
-}
-declare module 'webpack/lib/MovedToPluginWarningPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/MovedToPluginWarningPlugin'>;
-}
-declare module 'webpack/lib/MultiCompiler.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiCompiler'>;
-}
-declare module 'webpack/lib/MultiEntryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiEntryPlugin'>;
-}
-declare module 'webpack/lib/MultiModule.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiModule'>;
-}
-declare module 'webpack/lib/MultiModuleFactory.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiModuleFactory'>;
-}
-declare module 'webpack/lib/MultiStats.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiStats'>;
-}
-declare module 'webpack/lib/MultiWatching.js' {
-  declare module.exports: $Exports<'webpack/lib/MultiWatching'>;
-}
-declare module 'webpack/lib/NamedChunksPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NamedChunksPlugin'>;
-}
-declare module 'webpack/lib/NamedModulesPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NamedModulesPlugin'>;
-}
-declare module 'webpack/lib/NewWatchingPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NewWatchingPlugin'>;
-}
-declare module 'webpack/lib/node/NodeChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/node/NodeEnvironmentPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeEnvironmentPlugin'>;
-}
-declare module 'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeHotUpdateChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/node/NodeMainTemplate.runtime.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplate.runtime'>;
-}
-declare module 'webpack/lib/node/NodeMainTemplateAsync.runtime.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplateAsync.runtime'>;
-}
-declare module 'webpack/lib/node/NodeMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/node/NodeOutputFileSystem.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeOutputFileSystem'>;
-}
-declare module 'webpack/lib/node/NodeSourcePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeSourcePlugin'>;
-}
-declare module 'webpack/lib/node/NodeTargetPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeTargetPlugin'>;
-}
-declare module 'webpack/lib/node/NodeTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeTemplatePlugin'>;
-}
-declare module 'webpack/lib/node/NodeWatchFileSystem.js' {
-  declare module.exports: $Exports<'webpack/lib/node/NodeWatchFileSystem'>;
-}
-declare module 'webpack/lib/NodeStuffPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NodeStuffPlugin'>;
-}
-declare module 'webpack/lib/NoEmitOnErrorsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NoEmitOnErrorsPlugin'>;
-}
-declare module 'webpack/lib/NoErrorsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NoErrorsPlugin'>;
-}
-declare module 'webpack/lib/NormalModule.js' {
-  declare module.exports: $Exports<'webpack/lib/NormalModule'>;
-}
-declare module 'webpack/lib/NormalModuleFactory.js' {
-  declare module.exports: $Exports<'webpack/lib/NormalModuleFactory'>;
-}
-declare module 'webpack/lib/NormalModuleReplacementPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/NormalModuleReplacementPlugin'>;
-}
-declare module 'webpack/lib/NullFactory.js' {
-  declare module.exports: $Exports<'webpack/lib/NullFactory'>;
-}
-declare module 'webpack/lib/optimize/AggressiveMergingPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/AggressiveMergingPlugin'>;
-}
-declare module 'webpack/lib/optimize/AggressiveSplittingPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/AggressiveSplittingPlugin'>;
-}
-declare module 'webpack/lib/optimize/ChunkModuleIdRangePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/ChunkModuleIdRangePlugin'>;
-}
-declare module 'webpack/lib/optimize/CommonsChunkPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/CommonsChunkPlugin'>;
-}
-declare module 'webpack/lib/optimize/ConcatenatedModule.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/ConcatenatedModule'>;
-}
-declare module 'webpack/lib/optimize/DedupePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/DedupePlugin'>;
-}
-declare module 'webpack/lib/optimize/EnsureChunkConditionsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/EnsureChunkConditionsPlugin'>;
-}
-declare module 'webpack/lib/optimize/FlagIncludedChunksPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/FlagIncludedChunksPlugin'>;
-}
-declare module 'webpack/lib/optimize/LimitChunkCountPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/LimitChunkCountPlugin'>;
-}
-declare module 'webpack/lib/optimize/MergeDuplicateChunksPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/MergeDuplicateChunksPlugin'>;
-}
-declare module 'webpack/lib/optimize/MinChunkSizePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/MinChunkSizePlugin'>;
-}
-declare module 'webpack/lib/optimize/ModuleConcatenationPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/ModuleConcatenationPlugin'>;
-}
-declare module 'webpack/lib/optimize/OccurrenceOrderPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/OccurrenceOrderPlugin'>;
-}
-declare module 'webpack/lib/optimize/RemoveEmptyChunksPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/RemoveEmptyChunksPlugin'>;
-}
-declare module 'webpack/lib/optimize/RemoveParentModulesPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/RemoveParentModulesPlugin'>;
-}
-declare module 'webpack/lib/optimize/UglifyJsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/optimize/UglifyJsPlugin'>;
-}
-declare module 'webpack/lib/OptionsApply.js' {
-  declare module.exports: $Exports<'webpack/lib/OptionsApply'>;
-}
-declare module 'webpack/lib/OptionsDefaulter.js' {
-  declare module.exports: $Exports<'webpack/lib/OptionsDefaulter'>;
-}
-declare module 'webpack/lib/Parser.js' {
-  declare module.exports: $Exports<'webpack/lib/Parser'>;
-}
-declare module 'webpack/lib/ParserHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/ParserHelpers'>;
-}
-declare module 'webpack/lib/performance/AssetsOverSizeLimitWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/performance/AssetsOverSizeLimitWarning'>;
-}
-declare module 'webpack/lib/performance/EntrypointsOverSizeLimitWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/performance/EntrypointsOverSizeLimitWarning'>;
-}
-declare module 'webpack/lib/performance/NoAsyncChunksWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/performance/NoAsyncChunksWarning'>;
-}
-declare module 'webpack/lib/performance/SizeLimitsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/performance/SizeLimitsPlugin'>;
-}
-declare module 'webpack/lib/PrefetchPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/PrefetchPlugin'>;
-}
-declare module 'webpack/lib/prepareOptions.js' {
-  declare module.exports: $Exports<'webpack/lib/prepareOptions'>;
-}
-declare module 'webpack/lib/ProgressPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ProgressPlugin'>;
-}
-declare module 'webpack/lib/ProvidePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/ProvidePlugin'>;
-}
-declare module 'webpack/lib/RawModule.js' {
-  declare module.exports: $Exports<'webpack/lib/RawModule'>;
-}
-declare module 'webpack/lib/RecordIdsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/RecordIdsPlugin'>;
-}
-declare module 'webpack/lib/removeAndDo.js' {
-  declare module.exports: $Exports<'webpack/lib/removeAndDo'>;
-}
-declare module 'webpack/lib/RequestShortener.js' {
-  declare module.exports: $Exports<'webpack/lib/RequestShortener'>;
-}
-declare module 'webpack/lib/RequireJsStuffPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/RequireJsStuffPlugin'>;
-}
-declare module 'webpack/lib/RuleSet.js' {
-  declare module.exports: $Exports<'webpack/lib/RuleSet'>;
-}
-declare module 'webpack/lib/SetVarMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/SetVarMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/SingleEntryPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/SingleEntryPlugin'>;
-}
-declare module 'webpack/lib/SizeFormatHelpers.js' {
-  declare module.exports: $Exports<'webpack/lib/SizeFormatHelpers'>;
-}
-declare module 'webpack/lib/SourceMapDevToolModuleOptionsPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/SourceMapDevToolModuleOptionsPlugin'>;
-}
-declare module 'webpack/lib/SourceMapDevToolPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/SourceMapDevToolPlugin'>;
-}
-declare module 'webpack/lib/Stats.js' {
-  declare module.exports: $Exports<'webpack/lib/Stats'>;
-}
-declare module 'webpack/lib/Template.js' {
-  declare module.exports: $Exports<'webpack/lib/Template'>;
-}
-declare module 'webpack/lib/TemplatedPathPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/TemplatedPathPlugin'>;
-}
-declare module 'webpack/lib/UmdMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/UmdMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/UnsupportedFeatureWarning.js' {
-  declare module.exports: $Exports<'webpack/lib/UnsupportedFeatureWarning'>;
-}
-declare module 'webpack/lib/UseStrictPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/UseStrictPlugin'>;
-}
-declare module 'webpack/lib/util/identifier.js' {
-  declare module.exports: $Exports<'webpack/lib/util/identifier'>;
-}
-declare module 'webpack/lib/util/Queue.js' {
-  declare module.exports: $Exports<'webpack/lib/util/Queue'>;
-}
-declare module 'webpack/lib/util/Semaphore.js' {
-  declare module.exports: $Exports<'webpack/lib/util/Semaphore'>;
-}
-declare module 'webpack/lib/util/SortableSet.js' {
-  declare module.exports: $Exports<'webpack/lib/util/SortableSet'>;
-}
-declare module 'webpack/lib/validateSchema.js' {
-  declare module.exports: $Exports<'webpack/lib/validateSchema'>;
-}
-declare module 'webpack/lib/WarnCaseSensitiveModulesPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/WarnCaseSensitiveModulesPlugin'>;
-}
-declare module 'webpack/lib/WatchIgnorePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/WatchIgnorePlugin'>;
-}
-declare module 'webpack/lib/web/WebEnvironmentPlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/web/WebEnvironmentPlugin'>;
-}
-declare module 'webpack/lib/webpack.js' {
-  declare module.exports: $Exports<'webpack/lib/webpack'>;
-}
-declare module 'webpack/lib/webpack.web.js' {
-  declare module.exports: $Exports<'webpack/lib/webpack.web'>;
-}
-declare module 'webpack/lib/WebpackError.js' {
-  declare module.exports: $Exports<'webpack/lib/WebpackError'>;
-}
-declare module 'webpack/lib/WebpackOptionsApply.js' {
-  declare module.exports: $Exports<'webpack/lib/WebpackOptionsApply'>;
-}
-declare module 'webpack/lib/WebpackOptionsDefaulter.js' {
-  declare module.exports: $Exports<'webpack/lib/WebpackOptionsDefaulter'>;
-}
-declare module 'webpack/lib/WebpackOptionsValidationError.js' {
-  declare module.exports: $Exports<'webpack/lib/WebpackOptionsValidationError'>;
-}
-declare module 'webpack/lib/webworker/WebWorkerChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerHotUpdateChunkTemplatePlugin'>;
-}
-declare module 'webpack/lib/webworker/WebWorkerMainTemplate.runtime.js' {
-  declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerMainTemplate.runtime'>;
-}
-declare module 'webpack/lib/webworker/WebWorkerMainTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerMainTemplatePlugin'>;
-}
-declare module 'webpack/lib/webworker/WebWorkerTemplatePlugin.js' {
-  declare module.exports: $Exports<'webpack/lib/webworker/WebWorkerTemplatePlugin'>;
-}
-declare module 'webpack/schemas/ajv.absolutePath.js' {
-  declare module.exports: $Exports<'webpack/schemas/ajv.absolutePath'>;
-}
-declare module 'webpack/web_modules/node-libs-browser.js' {
-  declare module.exports: $Exports<'webpack/web_modules/node-libs-browser'>;
-}
diff --git a/packages/next/flow-typed/npm/webpackbar_vx.x.x.js b/packages/next/flow-typed/npm/webpackbar_vx.x.x.js
deleted file mode 100644
index bbf7d791..00000000
--- a/packages/next/flow-typed/npm/webpackbar_vx.x.x.js
+++ /dev/null
@@ -1,60 +0,0 @@
-// flow-typed signature: 83ca23a55b5361dc350877279882bf56
-// flow-typed version: <>/webpackbar_v2.6.1/flow_v0.73.0
-
-/**
- * This is an autogenerated libdef stub for:
- *
- *   'webpackbar'
- *
- * 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 'webpackbar' {
-  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 'webpackbar/dist/cjs' {
-  declare module.exports: any;
-}
-
-declare module 'webpackbar/dist/description' {
-  declare module.exports: any;
-}
-
-declare module 'webpackbar/dist/index' {
-  declare module.exports: any;
-}
-
-declare module 'webpackbar/dist/profile' {
-  declare module.exports: any;
-}
-
-declare module 'webpackbar/dist/utils' {
-  declare module.exports: any;
-}
-
-// Filename aliases
-declare module 'webpackbar/dist/cjs.js' {
-  declare module.exports: $Exports<'webpackbar/dist/cjs'>;
-}
-declare module 'webpackbar/dist/description.js' {
-  declare module.exports: $Exports<'webpackbar/dist/description'>;
-}
-declare module 'webpackbar/dist/index.js' {
-  declare module.exports: $Exports<'webpackbar/dist/index'>;
-}
-declare module 'webpackbar/dist/profile.js' {
-  declare module.exports: $Exports<'webpackbar/dist/profile'>;
-}
-declare module 'webpackbar/dist/utils.js' {
-  declare module.exports: $Exports<'webpackbar/dist/utils'>;
-}
diff --git a/packages/next/package.json b/packages/next/package.json
index e4dcabf4..2b5776b2 100644
--- a/packages/next/package.json
+++ b/packages/next/package.json
@@ -28,7 +28,6 @@
   "scripts": {
     "build": "taskr",
     "release": "taskr release",
-    "flow": "flow check",
     "prepublish": "npm run release"
   },
   "taskr": {
@@ -89,7 +88,6 @@
     "react-dom": "^16.0.0"
   },
   "devDependencies": {
-    "@babel/preset-flow": "7.0.0",
     "@taskr/clear": "1.1.0",
     "@taskr/esnext": "1.1.0",
     "@taskr/watch": "1.1.0",