Merge pull request #1361 from DaxChen/patch-1

Add better support for pug
This commit is contained in:
Sébastien Chopin 2017-08-13 23:57:43 +02:00 committed by GitHub
commit 2a4119cdb8

View File

@ -20,6 +20,10 @@ export default function ({ isClient }) {
'stylus': styleLoader.call(this, 'stylus', 'stylus-loader'),
'styl': styleLoader.call(this, 'stylus', 'stylus-loader')
},
template: {
// for pug, see https://github.com/vuejs/vue-loader/issues/55
doctype: 'html'
},
preserveWhitespace: false,
extractCSS: extractStyles.call(this)
}