Closed mdittmer closed 3 years ago
package.json currently contains "main": "src/main.js", which doesn't exist.
package.json
"main": "src/main.js"
The most sensible way I would "consume" this as a NodeJS package would be to use symbol support in my code. E.g.,
import S$ from 'expose'; // or // import {symbol} from 'expose'; const intInput = S$.symbol('intInput', 0); // ...
For this reason, I think "main": "lib/S$/src/symbols.js" would make sense. In any case, "main": "src/main.js" is misleading.
"main": "lib/S$/src/symbols.js"
package.json
currently contains"main": "src/main.js"
, which doesn't exist.The most sensible way I would "consume" this as a NodeJS package would be to use symbol support in my code. E.g.,
For this reason, I think
"main": "lib/S$/src/symbols.js"
would make sense. In any case,"main": "src/main.js"
is misleading.