diff --git a/packages/kotlinc-js-api/kotlin-compiler.js b/packages/kotlinc-js-api/kotlin-compiler.js
index <HASH>..<HASH> 100644
--- a/packages/kotlinc-js-api/kotlin-compiler.js
+++ b/packages/kotlinc-js-api/kotlin-compiler.js
@@ -49,6 +49,7 @@ function convertOptionsIntoArguments(options) {
     '-module-kind',
     options.moduleKind
   );
+  argumentsList = addOptionWithValue(argumentsList, '-XPlugin', options.plugin);
 
   if (options.libraries && options.libraries.length) {
     argumentsList = argumentsList.concat(
@@ -61,6 +62,11 @@ function convertOptionsIntoArguments(options) {
     if (options.experimental.multiPlatform) {
       argumentsList = argumentsList.concat('-Xmulti-platform');
     }
+    if (options.experimental.customArguments) {
+      argumentsList = argumentsList.concat(
+        options.experimental.customArguments
+      );
+    }
   }
 
   argumentsList = argumentsList.concat(options.sources);
CRKA-<I> XPlugin option support [Publish patch versions]

As well as any custom argument