Skip to content

Conversation

@brandonros
Copy link

not sure what to do about the tests (ending in .js and doing require()) as well as package.json engines talking about node >= version 4

@brandonros
Copy link
Author

<script type="importmap">
      {
        "imports": {
          "retry": "https://cdn.jsdelivr.net/gh/brandonros/node-retry@mjs/index.mjs",
          "p-retry": "https://cdn.jsdelivr.net/npm/[email protected]/index.js"
        }
      }
    </script>
    <script type="module">
      import retry from 'retry'
      import pRetry from 'p-retry'

     ...

opens the door for this without the use of a bundler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant