You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
681 B

4 years ago
  1. import { Plugin } from 'webpack'
  2. import { VueTemplateCompiler } from '@vue/component-compiler-utils/lib/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