NPM|module mode

package.json

package.json

{
"name": "@test/utils",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
// es module mode
"type": "module",
// ...
"dependencies": {
"@test/utils": "workspace:^1.0.0",
"axios": "^0.25.0
// ...
}0
}