diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-02-15 09:15:10 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-02-15 09:15:10 +0000 |
commit | d9a8d9f3de2705a3ab568532f3882dd23b3ce27a (patch) | |
tree | dd99a05821ae140b9bf2ff917352046acc670154 /config/webpack.config.js | |
parent | 6cb5b7c8729151c95d1610f0b2f7255fdac2bdec (diff) | |
parent | 02d9f54f197a28f2d102b7346b1212edb7ddc117 (diff) | |
download | gitlab-ce-d9a8d9f3de2705a3ab568532f3882dd23b3ce27a.tar.gz |
Merge branch 'master' into 'backstage/gb/build-stages-catch-up-migration'
Conflicts:
db/schema.rb
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 7f3fe551a03..a4e6c64fce5 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -154,6 +154,27 @@ var config = { } }, { + test: /katex.css$/, + include: /node_modules\/katex\/dist/, + use: [ + { loader: 'style-loader' }, + { + loader: 'css-loader', + options: { + name: '[name].[hash].[ext]' + } + }, + ], + }, + { + test: /\.(eot|ttf|woff|woff2)$/, + include: /node_modules\/katex\/dist\/fonts/, + loader: 'file-loader', + options: { + name: '[name].[hash].[ext]', + } + }, + { test: /monaco-editor\/\w+\/vs\/loader\.js$/, use: [ { loader: 'exports-loader', options: 'l.global' }, |