title: Magento accessing jsLayout config data from a mixin
body: <p>I want to extend the functionality of a knockout component. I have added the config to the xml file in question:</p>
  <pre><code>&lt;arguments&gt;
      &lt;argument name=&quot;jsLayout&quot; xsi:type=&quot;array&quot;&gt;
          &lt;item name=&quot;components&quot; xsi:type=&quot;array&quot;&gt;
  ...
              &lt;item name=&quot;example&quot;&gt;
                  ... other properties of the component
                  &lt;item name=&quot;config&quot; xsi:type=&quot;array&quot;&gt;
                      &lt;item name=&quot;SomeConfigVariable&quot; xsi:type=&quot;string&quot;&gt;true&lt;/item&gt;
                  &lt;/item&gt;
              &lt;/item&gt;
  ...
          &lt;/item&gt;
      &lt;/argument&gt;
  &lt;/arguments&gt;
  </code></pre>
  <p>I have included the mixin using my modules <code>requirejs-config.js</code>, I can see it hit a breakpoint in my browser.</p>
  <pre><code>var config = {
      config: {
          mixins: {
              &quot;Magento_MODULE/js/view/example&quot;: {
                  &quot;VENDOR_MODULE/js/view/example-mixin&quot;: true,
              }
          },
      },
  };
  </code></pre>
  <p>However I can't seem to find the code necessary to get my config data, I have tried this:</p>
  <pre><code>define([&quot;ko&quot;], function (ko) {
      var mixin = {
          imports: {
              someConfigVariable: &quot;${ $.SomeConfigVariable }&quot;, // Doesn't seem to do anything
          },
  
          initialize: function () {
              this.someConfigVariable = false; // Default value
              this._super();
              return this;
          },
      };
  
      return function (target, config) { // config is undefined
          return target.extend(mixin);
      };
  });
  
  </code></pre>
  <p>What am I missing?</p>