Depends on whether you want to use it on the original page or in the content of the script, but I assume you are talking about a background page.
In the manifest file:
"background": { "scripts": [ "scripts/require.js","scripts/main.js"] }
In main.js:
require.config({ baseUrl: "scripts" }); require( [ /*...*/ ], function( ) { });
and then in background.html:
<script data-main="scripts/main.js" src="scripts/require.js>
source share