chore: update webpack config

This commit is contained in:
tanjinzhou 2020-07-01 18:25:01 +08:00
parent 6420443466
commit 82fb9905b3

View File

@ -12,7 +12,7 @@ module.exports = {
module: {
rules: [
{
test: /\.vue$/,
test: /\.(vue|md)$/,
loader: 'vue-loader',
},
{
@ -81,7 +81,7 @@ module.exports = {
'ant-design-vue': path.join(__dirname, './components'),
vue$: 'vue/dist/vue.esm.js',
},
extensions: ['.js', '.jsx', '.vue'],
extensions: ['.js', '.jsx', '.vue', '.md'],
},
devServer: {
host: 'localhost',