Skip to content

Commit

Permalink
chore(app): add comment on html at monaco webpack plugin in craco config
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Nov 17, 2023
1 parent d51c688 commit 00c01f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ module.exports = {
},
}),
new MonacoWebpackPlugin({
// 'html' is required as workaround for 'xml'
// https://github.com/microsoft/monaco-editor/issues/1509
languages: ['xml', 'json', 'html', 'plaintext'],
globalAPI: true,
}),
Expand Down

0 comments on commit 00c01f0

Please sign in to comment.