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