fix(client): Broken syntax highlight

This commit is contained in:
syuilo 2020-08-01 23:30:51 +09:00
parent fb7c4ee21a
commit 60736bab2a
1 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,10 @@ module.exports = {
use: [{ use: [{
loader: 'vue-style-loader' loader: 'vue-style-loader'
}, { }, {
loader: 'css-loader' loader: 'css-loader',
options: {
esModule: false, // TODO: trueにすると壊れる。Vue3移行の折にはtrueにできるかもしれない
}
}, postcss] }, postcss]
}, { }, {
test: /\.(eot|woff|woff2|svg|ttf)([?]?.*)$/, test: /\.(eot|woff|woff2|svg|ttf)([?]?.*)$/,