Skip to content

Conversation

daKmoR
Copy link
Member

@daKmoR daKmoR commented Dec 18, 2021

Suggestion to use createRequire with the source file instead of creating a custom path lookup array.

Benefit would be

  • users would not need to provide a basepath anymore
  • reduce complexity as there is no custom path lookup array anymore

Note: "nodeModulesDepth" would need to be implemented different - I can take a stab at it if that suggestion makes sense

@netlify
Copy link

netlify bot commented Dec 18, 2021

✔️ Deploy Preview for custom-elements-manifest-analyzer ready!

🔨 Explore the source changes: 92a494c

🔍 Inspect the deploy log: https://app.netlify.com/sites/custom-elements-manifest-analyzer/deploys/61bdd9c4b2d683000729d3f1

😎 Browse the preview: https://deploy-preview-155--custom-elements-manifest-analyzer.netlify.app

@daKmoR daKmoR force-pushed the feat/useCreateRequireInsteadOfCustomPathArray branch from f2b3dc0 to 92a494c Compare December 18, 2021 12:53
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