@pob/rollup-esbuild 5.0.1 → 5.1.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.0](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@5.0.2...@pob/rollup-esbuild@5.1.0) (2024-12-03)
7
+
8
+ ### Features
9
+
10
+ * **rollup:** allow plugins to be a function in createRollupConfig ([67f72d8](https://github.com/christophehurpeau/pob/commit/67f72d83471220199b65e4ffb0fabe7bca048bd2))
11
+
12
+ ## [5.0.2](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@5.0.1...@pob/rollup-esbuild@5.0.2) (2024-12-03)
13
+
14
+ Version bump for dependency: @pob/rollup
15
+
16
+
6
17
  ## [5.0.1](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@5.0.0...@pob/rollup-esbuild@5.0.1) (2024-12-01)
7
18
 
8
19
  Version bump for dependency: @pob/rollup
@@ -67,7 +67,7 @@ export default function createRollupConfig({
67
67
  },
68
68
  }),
69
69
 
70
- ...plugins,
70
+ ...(typeof plugins === "function" ? plugins(env) : plugins),
71
71
  ].filter(Boolean),
72
72
  };
73
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/rollup-esbuild",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "description": "rollup configuration with typescript for pob",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -45,7 +45,7 @@
45
45
  "pob": {},
46
46
  "prettier": "@pob/root/prettier-config",
47
47
  "peerDependencies": {
48
- "rollup": "4.27.4",
48
+ "rollup": "4.28.0",
49
49
  "typescript": "^4.0.3 || ^5.0.0"
50
50
  },
51
51
  "peerDependenciesMeta": {
@@ -54,11 +54,11 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@pob/rollup": "5.0.1",
57
+ "@pob/rollup": "5.0.2",
58
58
  "@rollup/plugin-node-resolve": "15.3.0",
59
59
  "@rollup/plugin-run": "3.1.0",
60
60
  "esbuild": "0.24.0",
61
- "rollup": "4.27.4",
61
+ "rollup": "4.28.0",
62
62
  "rollup-config-external-dependencies": "^3.0.0",
63
63
  "rollup-plugin-esbuild": "6.1.1"
64
64
  }