mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
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
Block a user