title: How can I access target name in a Parcel plugin?
body: <p>I'm using <a href="https://parceljs.org/" rel="nofollow noreferrer">Parcel</a> for a web extension project. I've defined 2 targets in <code>package.json</code> file:</p>
  <pre class="lang-json prettyprint-override"><code>&quot;targets&quot;: {
      &quot;firefox&quot;: {
          &quot;engines&quot;: {
              &quot;browsers&quot;: [
                  &quot;last 1 Firefox version&quot;
              ]
          }
      },
      &quot;chrome&quot;: {
          &quot;engines&quot;: {
              &quot;browsers&quot;: [
                  &quot;last 1 Chrome version&quot;
              ]
          }
      }
  }
  </code></pre>
  <p>I want to write a transformer (or any plugin which does the trick) to combine a <code>manifest.json</code> and <code>manifest.{targetName}.json</code> before collecting manifest dependencies.</p>
  <p>So far I have learned that <code>asset.env</code> gives some info about the current environment. But I'm looking for a way to get the target name. Is there any way for it?</p>