Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use createRequire instead of custom paths array #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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