Skip to content

Commit

Permalink
fix: missing space between italics and bold (close: #661)
Browse files Browse the repository at this point in the history
"markdown-it" will intendedly reserve this space, and this issue was caused by "preserveWhitespace: true" (See: https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#options),

Impact on performance (Size of whole assets): Before (1952K), After (1960K), which is an acceptable change.
  • Loading branch information
ulivz committed Jul 27, 2018
1 parent 2a33075 commit 7730ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = function createBaseConfig ({
.loader('vue-loader')
.options({
compilerOptions: {
preserveWhitespace: false
preserveWhitespace: true
},
cacheDirectory,
cacheIdentifier
Expand Down

0 comments on commit 7730ee1

Please sign in to comment.