Skip to content

Commit d490d0d

Browse files
RomansBermansfrandiox
authored andcommitted
Adds support for the video poster attribute (vuejs-templates#1123)
1 parent 235e7a7 commit d490d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/vue-loader.conf.js

+1-1
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)