From 60736bab2ac974c2d2c2c106d297fa67fdaff87a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Aug 2020 23:30:51 +0900 Subject: [PATCH] fix(client): Broken syntax highlight --- webpack.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index 599737b81..a6ce8e249 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -98,7 +98,10 @@ module.exports = { use: [{ loader: 'vue-style-loader' }, { - loader: 'css-loader' + loader: 'css-loader', + options: { + esModule: false, // TODO: trueにすると壊れる。Vue3移行の折にはtrueにできるかもしれない + } }, postcss] }, { test: /\.(eot|woff|woff2|svg|ttf)([?]?.*)$/,