/
lostSun
/
project-client-server-apps
Обзор
Документация
Войти
/
lostSun
/
project-client-server-apps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
project-client-server-apps
/
node_modules
/
react-dev-utils
/
..
node_modules
initial commit
год назад
FileSizeReporter.js
initial commit
год назад
ForkTsCheckerWarningWebpackPlugin.js
initial commit
год назад
ForkTsCheckerWebpackPlugin.js
initial commit
год назад
InlineChunkHtmlPlugin.js
initial commit
год назад
InterpolateHtmlPlugin.js
initial commit
год назад
LICENSE
initial commit
год назад
ModuleNotFoundPlugin.js
initial commit
год назад
ModuleScopePlugin.js
initial commit
год назад
README.md
initial commit
год назад
WebpackDevServerUtils.js
initial commit
год назад
browsersHelper.js
initial commit
год назад
chalk.js
initial commit
год назад
checkRequiredFiles.js
initial commit
год назад
clearConsole.js
initial commit
год назад
crossSpawn.js
initial commit
год назад
errorOverlayMiddleware.js
initial commit
год назад
eslintFormatter.js
initial commit
год назад
evalSourceMapMiddleware.js
initial commit
год назад
formatWebpackMessages.js
initial commit
год назад
getCSSModuleLocalIdent.js
initial commit
год назад
getCacheIdentifier.js
initial commit
год назад
getProcessForPort.js
initial commit
год назад
getPublicUrlOrPath.js
initial commit
год назад
globby.js
initial commit
год назад
ignoredFiles.js
initial commit
год назад
immer.js
initial commit
год назад
launchEditor.js
initial commit
год назад
launchEditorEndpoint.js
initial commit
год назад
noopServiceWorkerMiddleware.js
initial commit
год назад
openBrowser.js
initial commit
год назад
openChrome.applescript
initial commit
год назад
package.json
initial commit
год назад
printBuildError.js
initial commit
год назад
printHostingInstructions.js
initial commit
год назад
redirectServedPathMiddleware.js
initial commit
год назад
refreshOverlayInterop.js
initial commit
год назад
webpackHotDevClient.js
initial commit
год назад
react-dev-utils
Usage in Create React App Projects
Usage Outside of Create React App
Entry Points
`new InterpolateHtmlPlugin(htmlWebpackPlugin: HtmlWebpackPlugin, replacements: {[key:string]: string})`
`new InlineChunkHtmlPlugin(htmlWebpackPlugin: HtmlWebpackPlugin, tests: Regex[])`
`new ModuleScopePlugin(appSrc: string | string[], allowedFiles?: string[])`
`checkRequiredFiles(files: Array): boolean`
`clearConsole(): void`
`eslintFormatter(results: Object): string`
`FileSizeReporter`
`measureFileSizesBeforeBuild(buildFolder: string): Promise`
`printFileSizesAfterBuild(webpackStats: WebpackStats, previousFileSizes: OpaqueFileSizes, buildFolder: string, maxBundleGzipSize?: number, maxChunkGzipSize?: number)`
`formatWebpackMessages({errors: Array, warnings: Array}): {errors: Array, warnings: Array}`
`printBuildError(error: Object): void`
`getProcessForPort(port: number): string`
`launchEditor(fileName: string, lineNumber: number): void`
`noopServiceWorkerMiddleware(servedPath: string): ExpressMiddleware`
`redirectServedPathMiddleware(servedPath: string): ExpressMiddleware`
`openBrowser(url: string): boolean`
`printHostingInstructions(appPackage: Object, publicUrl: string, publicPath: string, buildFolder: string, useYarn: boolean): void`
`WebpackDevServerUtils`
`choosePort(host: string, defaultPort: number): Promise`
`createCompiler(args: Object): WebpackCompiler`
`prepareProxy(proxySetting: string, appPublicFolder: string, servedPathname: string): Object`
`prepareUrls(protocol: string, host: string, port: number, pathname: string = '/'): Object`
`webpackHotDevClient`
`getCSSModuleLocalIdent(context: Object, localIdentName: String, localName: String, options: Object): string`
`getCacheIdentifier(environment: string, packages: string[]): string`
README.md