@naturalcycles/dev-lib 13.40.0 → 13.40.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,8 @@ const TSCONF_CJS_PATH = `./tsconfig.cjs.prod.json`;
7
7
  const TSCONF_ESM_PATH = `./tsconfig.esm.prod.json`;
8
8
  const TSCONF_PATH = `./tsconfig.prod.json`;
9
9
  async function buildProdESMCJSCommand() {
10
- const [cjsExists, esmExists] = [
11
- (0, nodejs_lib_1._pathExistsSync)(TSCONF_CJS_PATH),
12
- (0, nodejs_lib_1._pathExistsSync)(TSCONF_ESM_PATH),
13
- ];
10
+ const cjsExists = (0, nodejs_lib_1._pathExistsSync)(TSCONF_CJS_PATH);
11
+ const esmExists = (0, nodejs_lib_1._pathExistsSync)(TSCONF_ESM_PATH);
14
12
  // it doesn't delete the dir itself, to prevent IDE jumping
15
13
  (0, nodejs_lib_1._emptyDirSync)('./dist');
16
14
  (0, nodejs_lib_1._emptyDirSync)('./dist-esm');
@@ -27,6 +25,8 @@ async function buildProdESMCJSCommand() {
27
25
  './dist-esm',
28
26
  '--module',
29
27
  'esnext',
28
+ '--moduleResolution',
29
+ 'bundler',
30
30
  '--declaration',
31
31
  'false',
32
32
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "13.40.0",
3
+ "version": "13.40.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",