@powerlines/plugin-esbuild 0.13.671 → 0.13.672

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.
Files changed (2) hide show
  1. package/README.md +31 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,6 +74,37 @@ A package containing a Powerlines plugin to build projects using ESBuild.
74
74
 
75
75
  <!-- END doctoc -->
76
76
 
77
+ ## Features
78
+
79
+ - Builds projects with esbuild through the `build` hook (ESM output format)
80
+ - Resolves entry points and wires Powerlines unplugins through `createEsbuildPlugin`
81
+ - Typed build options via `./types/build` (`EsbuildOptions`) and `./types/plugin`
82
+
83
+ ## Usage
84
+
85
+ Install the plugin:
86
+
87
+ ```bash
88
+ pnpm add @powerlines/plugin-esbuild
89
+ ```
90
+
91
+ Register it in `powerlines.config.ts`:
92
+
93
+ ```ts
94
+ import { defineConfig } from "powerlines";
95
+ import { plugin as esbuild } from "@powerlines/plugin-esbuild";
96
+
97
+ export default defineConfig({
98
+ plugins: [
99
+ esbuild()
100
+ ]
101
+ });
102
+ ```
103
+
104
+ Requires peer `esbuild >= 0.27.3`, installed by the consumer.
105
+
106
+ Run the Powerlines build for your project to activate the plugin.
107
+
77
108
  ## Installing
78
109
 
79
110
  Using [pnpm](http://pnpm.io):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-esbuild",
3
- "version": "0.13.671",
3
+ "version": "0.13.672",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin to build projects using esbuild.",
6
6
  "keywords": ["esbuild", "powerlines", "storm-software", "powerlines-plugin"],
@@ -68,8 +68,8 @@
68
68
  "typings": "dist/index.d.mts",
69
69
  "files": ["dist"],
70
70
  "dependencies": {
71
- "@powerlines/core": "^0.48.135",
72
- "@powerlines/unplugin": "^0.0.183",
71
+ "@powerlines/core": "^0.48.136",
72
+ "@powerlines/unplugin": "^0.0.184",
73
73
  "@stryke/fs": "^0.33.118",
74
74
  "@stryke/helpers": "^0.10.56",
75
75
  "@stryke/path": "^0.29.43",
@@ -77,12 +77,12 @@
77
77
  "@stryke/types": "^0.12.44",
78
78
  "defu": "^6.1.7",
79
79
  "jiti": "^2.7.0",
80
- "powerlines": "^0.47.216",
80
+ "powerlines": "^0.47.217",
81
81
  "unplugin": "^3.4.0"
82
82
  },
83
83
  "devDependencies": { "@types/node": "^25.9.9", "esbuild": "^0.28.2" },
84
84
  "peerDependencies": { "esbuild": ">=0.27.3" },
85
85
  "peerDependenciesMeta": { "esbuild": { "optional": false } },
86
86
  "publishConfig": { "access": "public" },
87
- "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
87
+ "gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
88
88
  }