diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-08-01 23:30:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-08-01 23:30:51 +0900 |
| commit | 60736bab2ac974c2d2c2c106d297fa67fdaff87a (patch) | |
| tree | f116c76f28c866c90a0fc97cd8c8051c3a476e81 /webpack.config.ts | |
| parent | チャットでCmd+Enterできないのを修正 (#6614) (diff) | |
| download | misskey-60736bab2ac974c2d2c2c106d297fa67fdaff87a.tar.gz misskey-60736bab2ac974c2d2c2c106d297fa67fdaff87a.tar.bz2 misskey-60736bab2ac974c2d2c2c106d297fa67fdaff87a.zip | |
fix(client): Broken syntax highlight
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index 599737b814..a6ce8e2497 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)([?]?.*)$/, |