2
0

webpack.dev.d.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. declare const PORT: 5000;
  2. import HtmlWebPackPlugin = require("html-webpack-plugin");
  3. export namespace entry {
  4. const test: string;
  5. }
  6. export namespace devServer {
  7. export namespace _static {
  8. const directory: string;
  9. const staticOptions: {};
  10. const publicPath: string;
  11. const serveIndex: boolean;
  12. const watch: boolean;
  13. }
  14. export { _static as static };
  15. export namespace devMiddleware {
  16. const publicPath_1: string;
  17. export { publicPath_1 as publicPath };
  18. }
  19. export const open: boolean;
  20. export const compress: boolean;
  21. export { PORT as port };
  22. export const host: string;
  23. export const allowedHosts: string;
  24. export const headers: {
  25. 'Access-Control-Allow-Origin': string;
  26. 'Accept-Encoding': string;
  27. };
  28. export namespace client {
  29. const logging: string;
  30. const overlay: boolean;
  31. const progress: boolean;
  32. }
  33. export function onListening(devServer: any): void;
  34. export function onBeforeSetupMiddleware(devServer: any): void;
  35. }
  36. export const plugins: HtmlWebPackPlugin[];
  37. export {};