Skip to content

Instantly share code, notes, and snippets.

@Ashoat
Last active April 7, 2023 17:39
Show Gist options
  • Save Ashoat/487aa5a611e84f1751d7c60d82b8e4f9 to your computer and use it in GitHub Desktop.
Save Ashoat/487aa5a611e84f1751d7c60d82b8e4f9 to your computer and use it in GitHub Desktop.
diff --git a/lib/webpack/shared.cjs b/lib/webpack/shared.cjs
index bb56d32b3..8ef31cb4a 100644
--- a/lib/webpack/shared.cjs
+++ b/lib/webpack/shared.cjs
@@ -5,6 +5,14 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const webpack = require('webpack');
+(async () => {
+ const { getCommConfig } = await import(
+ '../../keyserver/dist/lib/utils/comm-config.js'
+ );
+ const test = await getCommConfig({ folder: 'facts', name: 'commapp_url' });
+ console.log(test);
+})();
+
const sharedPlugins = [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment