open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
227 stars 37 forks source link

feat: use createRequire instead of custom paths array #155

Open daKmoR opened 2 years ago

daKmoR commented 2 years ago

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

Benefit would be

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

netlify[bot] commented 2 years ago

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

🔨 Explore the source changes: 92a494c71caa88a993f2b08648ca60431129e8d0

🔍 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