bunchee 3.6.0 → 3.6.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.
package/dist/cli.js CHANGED
@@ -50,7 +50,7 @@ async function fileExists(filePath) {
50
50
  }
51
51
  }
52
52
 
53
- var version = "3.6.0";
53
+ var version = "3.6.1";
54
54
 
55
55
  const helpMessage = `
56
56
  Usage: bunchee [options]
package/dist/index.js CHANGED
@@ -315,7 +315,6 @@ function findExport(name, value, paths, packageType) {
315
315
  if (isCjsPackage && ((_pathsMap_ = pathsMap['.']) == null ? void 0 : _pathsMap_['require'])) {
316
316
  // pathsMap's exports.require are prioritized.
317
317
  defaultMainExport['require'] = pathsMap['.']['require'];
318
- console.warn(`(warning) "exports.require" has overwritten "main" since they are duplicated.`);
319
318
  }
320
319
  // Merge the main export into '.' paths
321
320
  const mainExport = Object.assign({}, pathsMap['.'], defaultMainExport);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunchee",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "zero config bundler for js/ts/jsx libraries",
5
5
  "bin": {
6
6
  "bunchee": "./dist/cli.js"
@@ -60,7 +60,7 @@
60
60
  "rollup": "~3.20.2",
61
61
  "rollup-plugin-dts": "~5.3.0",
62
62
  "rollup-plugin-swc3": "~0.8.1",
63
- "rollup-swc-preserve-directives": "~0.3.0",
63
+ "rollup-swc-preserve-directives": "~0.3.2",
64
64
  "tslib": "~2.5.0"
65
65
  },
66
66
  "peerDependencies": {