esbuild-plugin-alias
Advanced tools
Comparing version 0.1.2 to 0.2.0
# Changelog | ||
## 0.2.0 (04.10.2021) | ||
Added TS definition file. | ||
## 0.1.2 (12.02.2021) | ||
@@ -4,0 +9,0 @@ |
module.exports = options => { | ||
const aliases = Object.keys(options); | ||
const re = new RegExp(`^${aliases.map(x => escapeRegExp(x)).join('|')}$`); | ||
const re = new RegExp(`^(${aliases.map(x => escapeRegExp(x)).join('|')})$`); | ||
@@ -5,0 +5,0 @@ return { |
{ | ||
"name": "esbuild-plugin-alias", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "esbuild plugin for path aliases", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "nodemon --exec 'npm run test' --watch index.js --watch tests", | ||
"test": "mocha", | ||
@@ -34,3 +35,4 @@ "lint": "eslint ." | ||
"lint-staged": "10.5.4", | ||
"mocha": "8.2.1" | ||
"mocha": "8.2.1", | ||
"nodemon": "2.0.13" | ||
}, | ||
@@ -37,0 +39,0 @@ "husky": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4814
7