You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by an...@apache.org on 2025/08/21 10:07:54 UTC
(activemq-artemis-console) 05/21: Extract workers
This is an automated email from the ASF dual-hosted git repository.
andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git
commit 9837f09aa09124afba56bbe4b9df83924cc8b72e
Author: Vilius Ĺ umskas <vi...@rivile.lt>
AuthorDate: Sat Jul 26 13:16:47 2025 +0300
Extract workers
---
.../artemis-extension/app/webpack.config.cjs | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/artemis-console-extension/artemis-extension/app/webpack.config.cjs b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
index fac7486..721e4e9 100644
--- a/artemis-console-extension/artemis-extension/app/webpack.config.cjs
+++ b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
@@ -24,6 +24,7 @@ const TerserPlugin = require("terser-webpack-plugin")
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin")
const { WebpackManifestPlugin } = require("webpack-manifest-plugin")
const CopyWebpackPlugin = require('copy-webpack-plugin')
+const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
const outputPath = path.resolve(__dirname, 'build')
@@ -134,6 +135,13 @@ module.exports = (webpackEnv, args) => {
},
}
}),
+ new MonacoWebpackPlugin({
+ // 'html' is required as workaround for 'xml'
+ // https://github.com/microsoft/monaco-editor/issues/1509
+ languages: ['xml', 'json', 'html'],
+ publicPath: '',
+ globalAPI: true
+ }),
new InvestigationPlugin({})
],
entry: "./src/index.ts",
@@ -214,7 +222,10 @@ module.exports = (webpackEnv, args) => {
],
resolve: {
extensions: ['.ts', '.tsx', '.js', '.cjs', '.jsx'],
- // To resolve errors for @module-federation/utilities 2.x
+ alias: {
+ '@thumbmarkjs/thumbmarkjs': path.join(__dirname, '../node_modules/@thumbmarkjs/thumbmarkjs/dist/thumbmark.esm.js'),
+ },
+ // To resolve errors for @module-federation/utilities 2.x
// https://github.com/module-federation/universe/issues/827
// fallback: {
// path: require.resolve('path-browserify'),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact