New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-import-resolver

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-import-resolver - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"name": "babel-plugin-import-resolver",
"version": "0.1.1",
"description": "resolve import to specific file",
"version": "0.1.2",
"description": "Resolve multiple members import to specific module import",
"main": "src/index.js",

@@ -6,0 +6,0 @@ "directories": {

@@ -5,3 +5,3 @@ # babel-plugin-import-resolver

Resolve import to specific file.
Resolve multiple members import to specific module import, mainly for leverage the performance of importing a couple of react components.

@@ -59,5 +59,5 @@ ## Example

plugins: ['import-resolver', {
condition: '^(\\.|\\/).*\\/components$', // string format regular expression
template: '{source}/{name}/{name}', // template variables (wrapped in braces) will be replaced
condition: '^(\\.|\\/).*\\/components$',
template: '{source}/{name}/{name}',
}],
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc