diff --git a/README.md b/README.md index 6ef98b4..9cc053a 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ interface TemplateCompileOptions { // Transform asset urls found in the template into `require()` calls // This is off by default. If set to true, the default value is // { + // audio: 'src', // video: ['src', 'poster'], // source: 'src', // img: 'src', diff --git a/lib/templateCompilerModules/assetUrl.ts b/lib/templateCompilerModules/assetUrl.ts index 8838748..f375ebc 100644 --- a/lib/templateCompilerModules/assetUrl.ts +++ b/lib/templateCompilerModules/assetUrl.ts @@ -7,6 +7,7 @@ export interface AssetURLOptions { } const defaultOptions: AssetURLOptions = { + audio: 'src', video: ['src', 'poster'], source: 'src', img: 'src',