bunchee 3.3.3 → 3.3.4

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.
package/dist/cli.js CHANGED
@@ -97,7 +97,7 @@ function _fileExists() {
97
97
  return _fileExists.apply(this, arguments);
98
98
  }
99
99
 
100
- var version = "3.3.3";
100
+ var version = "3.3.4";
101
101
 
102
102
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
103
103
  try {
package/dist/index.js CHANGED
@@ -753,9 +753,9 @@ function _resolveTsConfig() {
753
753
  _resolveTsConfig = _async_to_generator$1(function*(cwd) {
754
754
  let tsCompilerOptions = {};
755
755
  let tsConfigPath;
756
- const ts = resolveTypescript(cwd);
757
756
  tsConfigPath = path.resolve(cwd, 'tsconfig.json');
758
757
  if (yield fileExists(tsConfigPath)) {
758
+ const ts = resolveTypescript(cwd);
759
759
  const basePath = tsConfigPath ? path.dirname(tsConfigPath) : cwd;
760
760
  const tsconfigJSON = ts.readConfigFile(tsConfigPath, ts.sys.readFile).config;
761
761
  tsCompilerOptions = ts.parseJsonConfigFileContent(tsconfigJSON, ts.sys, basePath).options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunchee",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "zero config bundler for js/ts/jsx libraries",
5
5
  "bin": {
6
6
  "bunchee": "./dist/cli.js"