2
0

webpack.dev.d.ts 1.1 KB

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