Skip to content

Commit

Permalink
Merge pull request #2 from roed/esm-support
Browse files Browse the repository at this point in the history
Fixed CommonJS issue after adding ESM support
  • Loading branch information
roed authored Sep 15, 2024
2 parents 7845245 + 11da487 commit b01e5da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version 1.0.1
- Fixed usage in CommonJS projects

# Version 1.0.0

## Added
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "node-locator",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple dependency injection container/locator for nodejs based on config files",
"main": "index.cjs.js",
"module": "index.esm.js",
"type": "module",
"exports": {
".": {
"require": "./index.cjs.js",
"require": "./index.cjs",
"import": "./index.esm.js"
}
},
"scripts": {
"test": "node_modules/.bin/mocha test --recursive"
},
"files": [
"index.cjs.js",
"index.cjs",
"index.esm.js",
"locator.cjs",
"locator.esm.js",
Expand Down

0 comments on commit b01e5da

Please sign in to comment.