node-x-path v0.2.1
Building
Build settings in the package.json file, need to be correct
make the build correct with both ES Module and CommonJs
(including correct 'typings' for TypeScript)
Es Modules vs CommonJS
The 'type' in package.json most be set to 'module' to allow "normal" imports to work.
But when "type":"module"
is set, the "exports"
field most also be set, with both
CommonJS ("require"
) and Es Modile ("default"
) including the "types"
field for TypeScript to work.
See typescripts doc on esm-node for more info.
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
12 months ago
11 months ago
11 months ago
11 months ago
9 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago