title: Multi Exports in next.config.json
body: <p>I want to add <strong>withPWA</strong> and <strong>withTypescript</strong> together, but i don't know how to config them...</p>
  <p>this is my <em><strong>next.config.json</strong></em> code :</p>
  <pre><code>const withPWA = require(&quot;next-pwa&quot;);
  
  module.exports = withPWA({
    pwa: {
      dest: &quot;public&quot;,
    },
  });
  </code></pre>
  <p>and</p>
  <pre><code>const withTypescript = require('@zeit/next-typescript');
  
  module.exports = withTypescript();
  </code></pre>
  <p>these configs only work alone...how can i make them work together?</p>