Based on the rollup docs, the iife format is better suited for use in the <script> tag. Since extensions may bootstrap from the background script, it seems that the commonJS format may be a better approach.
This builds the index.js file in such a way that it creates a default export, whereas the iife format did not.
This is in relation to issue 54 that I opened today.
@MitsuhaKitsune would it help if I went ahead and incremented the package numbers for npm in this PR?
Based on the rollup docs, the
iife
format is better suited for use in the<script>
tag. Since extensions may bootstrap from the background script, it seems that the commonJS format may be a better approach.This builds the
index.js
file in such a way that it creates a default export, whereas theiife
format did not.This is in relation to issue 54 that I opened today.
@MitsuhaKitsune would it help if I went ahead and incremented the package numbers for
npm
in this PR?