@fal-works/esbuild-plugin-global-externals
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "@fal-works/esbuild-plugin-global-externals", | ||
"description": "esbuild plugin for replacing imports with global variables.", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
@@ -18,5 +18,8 @@ "author": "FAL", | ||
], | ||
"main": "lib/index.js", | ||
"main": "lib/index.cjs", | ||
"module": "lib/index.js", | ||
"exports": "./lib/index.js", | ||
"exports": { | ||
"import": "./lib/index.js", | ||
"require": "./lib/index.cjs" | ||
}, | ||
"type": "module", | ||
@@ -27,3 +30,3 @@ "directories": { | ||
"dependencies": { | ||
"esbuild": "^0.8.39" | ||
"esbuild": "^0.8.40" | ||
}, | ||
@@ -42,7 +45,10 @@ "devDependencies": { | ||
"prebuild": "rimraf lib", | ||
"build": "tsc && npm run format:lib", | ||
"preformat:lib": "eslint --fix --no-ignore lib/**/*.{js,ts}", | ||
"format:lib": "prettier --write lib/**/*.{js,ts}", | ||
"lint": "eslint src/" | ||
"build": "npm run build:esm & npm run build:cjs", | ||
"build:esm": "tsc && npm run format:lib:esm", | ||
"preformat:lib:esm": "eslint --fix --no-ignore lib/**/*.{js,ts}", | ||
"format:lib:esm": "prettier --write lib/**/*.{js,ts}", | ||
"build:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --format=cjs --platform=node --bundle --minify", | ||
"lint": "eslint src/", | ||
"test": "node test/test.js" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # esbuild-plugin-global-externals | ||
Developed with: esbuild v0.8.39 | ||
Developed with: esbuild v0.8.40 | ||
@@ -8,0 +8,0 @@ Similar to (but not the same as) `output.globals` option of [Rollup](https://rollupjs.org/). See also: [evanw/esbuild#337](https://github.com/evanw/esbuild/issues/337) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19303
24
340
0
Updatedesbuild@^0.8.40