add video file-loader

This commit is contained in:
Kun Sam 2017-07-31 16:41:40 +08:00
parent 4c0db59587
commit 9f5886c91b

View File

@ -103,6 +103,10 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
limit: 1000, // 1 KO
name: 'fonts/[name].[hash:7].[ext]'
}
},
{
test: /\.(webm|mp4)$/,
loader: 'file'
}
]
},