mirror of https://github.com/nuxt/nuxt.git
add video file-loader
This commit is contained in:
parent
4c0db59587
commit
9f5886c91b
|
@ -103,6 +103,10 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
|
||||||
limit: 1000, // 1 KO
|
limit: 1000, // 1 KO
|
||||||
name: 'fonts/[name].[hash:7].[ext]'
|
name: 'fonts/[name].[hash:7].[ext]'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
test: /\.(webm|mp4)$/,
|
||||||
|
loader: 'file'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue