Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#1087 from lockiechen/master
Browse files Browse the repository at this point in the history
feature: bash 插件支持js以及yaml语法高亮 issue#1086
  • Loading branch information
lockiechen authored Apr 15, 2020
2 parents d29bee5 + f91ba26 commit c82b71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/devops-pipeline/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = (env, argv) => {
config.plugins = [
...config.plugins,
// brace 优化,只提取需要的语法
new webpack.ContextReplacementPlugin(/brace\/mode$/, /^\.\/(json|python|sh|text|powershell|batchfile)$/),
new webpack.ContextReplacementPlugin(/brace\/mode$/, /^\.\/(javascript|yaml|json|python|sh|text|powershell|batchfile)$/),
// brace 优化,只提取需要的 theme
new webpack.ContextReplacementPlugin(/brace\/theme$/, /^\.\/(monokai)$/),
new HtmlWebpackPlugin({
Expand Down

0 comments on commit c82b71d

Please sign in to comment.