index.d.ts 728 B

12345678910111213141516171819202122232425
  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. experimentalInlineMatchResource?: boolean
  20. }
  21. }
  22. export = VueLoader