8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transformAssetUrls
1 parent ed44d6f commit 47f1341Copy full SHA for 47f1341
README.md
@@ -77,6 +77,7 @@ interface TemplateCompileOptions {
77
// Transform asset urls found in the template into `require()` calls
78
// This is off by default. If set to true, the default value is
79
// {
80
+ // audio: 'src',
81
// video: ['src', 'poster'],
82
// source: 'src',
83
// img: 'src',
lib/templateCompilerModules/assetUrl.ts
@@ -7,6 +7,7 @@ export interface AssetURLOptions {
7
}
8
9
const defaultOptions: AssetURLOptions = {
10
+ audio: 'src',
11
video: ['src', 'poster'],
12
source: 'src',
13
img: 'src',
0 commit comments