index.d.ts 682 B

123456789101112131415161718192021222324
  1. import { Plugin } from 'webpack'
  2. import { VueTemplateCompiler } from '@vue/component-compiler-utils/dist/types'
  3. import { CompilerOptions } from 'vue-template-compiler'
  4. declare namespace VueLoader {
  5. class VueLoaderPlugin extends Plugin {}
  6. interface VueLoaderOptions {
  7. transformAssetUrls?: { [tag: string]: string | Array<string> }
  8. compiler?: VueTemplateCompiler
  9. compilerOptions?: CompilerOptions
  10. transpileOptions?: Object
  11. optimizeSSR?: boolean
  12. hotReload?: boolean
  13. productionMode?: boolean
  14. shadowMode?: boolean
  15. cacheDirectory?: string
  16. cacheIdentifier?: string
  17. prettify?: boolean
  18. exposeFilename?: boolean
  19. }
  20. }
  21. export = VueLoader