Skip to content

Commit 13c8858

Browse files
RomansBermansLinusBorg
authored andcommitted
Adds support for the video poster attribute (#1123)
1 parent 9ee4101 commit 13c8858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/vue-loader.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
cssSourceMap: sourceMapEnabled,
1515
cacheBusting: config.dev.cacheBusting,
1616
transformToRequire: {
17-
video: 'src',
17+
video: ['src', 'poster'],
1818
source: 'src',
1919
img: 'src',
2020
image: 'xlink:href'

0 commit comments

Comments
 (0)