• Robert Knight's avatar
    Add an express server which serves the package's contents. · ed4afca0
    Robert Knight authored
    Add an express server which serve's the package's contents in a manner
    similar to unpkg:
    
     - The '/' route serves the package's entry point script
    
     - Other routes serve files from the package
    
    This can be used together with the CLIENT_URL setting in the Hypothesis
    service to configure the service to serve the local development version
    of the client instead of the production version.
    ed4afca0
serve-package.js 1.03 KB