@powerlines/plugin-esbuild 0.13.189 → 0.13.190
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/helpers/index.cjs +3 -0
- package/dist/{packages/plugin-esbuild/src/helpers → helpers}/unplugin.cjs +1 -1
- package/dist/{src/index.cjs → index.cjs} +5 -5
- package/dist/{src/index.d.cts → index.d.cts} +3 -3
- package/dist/{src/index.d.mts → index.d.mts} +5 -5
- package/dist/{src/index.mjs → index.mjs} +2 -2
- package/dist/{packages/plugin-esbuild/src/types → types}/plugin.d.cts +3 -3
- package/dist/{packages/plugin-esbuild/src/types → types}/plugin.d.mts +3 -3
- package/package.json +4 -4
- package/dist/packages/plugin-esbuild/src/helpers/index.cjs +0 -3
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/index.d.cts +0 -0
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/index.d.mts +0 -0
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/index.mjs +0 -0
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/unplugin.d.cts +0 -0
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/unplugin.d.mts +0 -0
- /package/dist/{packages/plugin-esbuild/src/helpers → helpers}/unplugin.mjs +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/index.cjs +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/index.d.cts +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/index.d.mts +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/index.mjs +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/plugin.cjs +0 -0
- /package/dist/{packages/plugin-esbuild/src/types → types}/plugin.mjs +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let powerlines_lib_unplugin = require("powerlines/lib/unplugin");
|
|
3
3
|
let unplugin = require("unplugin");
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_rolldown_runtime = require('
|
|
3
|
-
const
|
|
4
|
-
require('
|
|
2
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
+
const require_helpers_unplugin = require('./helpers/unplugin.cjs');
|
|
4
|
+
require('./helpers/index.cjs');
|
|
5
5
|
let defu = require("defu");
|
|
6
6
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
7
7
|
let esbuild = require("esbuild");
|
|
@@ -27,7 +27,7 @@ const plugin = (options = {}) => {
|
|
|
27
27
|
async build() {
|
|
28
28
|
await (0, esbuild.build)((0, defu.default)({
|
|
29
29
|
entryPoints: (0, powerlines_lib_build_esbuild.resolveESBuildEntry)(this, this.entry),
|
|
30
|
-
plugins: [
|
|
30
|
+
plugins: [require_helpers_unplugin.createESBuildPlugin(this)]
|
|
31
31
|
}, (0, powerlines_lib_build_esbuild.extractESBuildConfig)(this)));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
@@ -35,6 +35,6 @@ const plugin = (options = {}) => {
|
|
|
35
35
|
var src_default = plugin;
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
|
-
exports.createESBuildPlugin =
|
|
38
|
+
exports.createESBuildPlugin = require_helpers_unplugin.createESBuildPlugin;
|
|
39
39
|
exports.default = src_default;
|
|
40
40
|
exports.plugin = plugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Plugin } from "
|
|
2
|
-
import { ESBuildPluginContext, ESBuildPluginOptions, ESBuildPluginResolvedConfig, __ΩESBuildPluginContext, __ΩESBuildPluginOptions, __ΩESBuildPluginResolvedConfig } from "
|
|
3
|
-
import { createESBuildPlugin } from "
|
|
1
|
+
import { Plugin } from "./powerlines/src/types/plugin.cjs";
|
|
2
|
+
import { ESBuildPluginContext, ESBuildPluginOptions, ESBuildPluginResolvedConfig, __ΩESBuildPluginContext, __ΩESBuildPluginOptions, __ΩESBuildPluginResolvedConfig } from "./types/plugin.cjs";
|
|
3
|
+
import { createESBuildPlugin } from "./helpers/unplugin.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Plugin } from "
|
|
2
|
-
import { ESBuildPluginContext, ESBuildPluginOptions, ESBuildPluginResolvedConfig, __ΩESBuildPluginContext, __ΩESBuildPluginOptions, __ΩESBuildPluginResolvedConfig } from "
|
|
3
|
-
import { createESBuildPlugin } from "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
1
|
+
import { Plugin } from "./powerlines/src/types/plugin.mjs";
|
|
2
|
+
import { ESBuildPluginContext, ESBuildPluginOptions, ESBuildPluginResolvedConfig, __ΩESBuildPluginContext, __ΩESBuildPluginOptions, __ΩESBuildPluginResolvedConfig } from "./types/plugin.mjs";
|
|
3
|
+
import { createESBuildPlugin } from "./helpers/unplugin.mjs";
|
|
4
|
+
import "./helpers/index.mjs";
|
|
5
|
+
import "./types/index.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createESBuildPlugin } from "
|
|
2
|
-
import "
|
|
1
|
+
import { createESBuildPlugin } from "./helpers/unplugin.mjs";
|
|
2
|
+
import "./helpers/index.mjs";
|
|
3
3
|
import defu from "defu";
|
|
4
4
|
import { build } from "esbuild";
|
|
5
5
|
import { DEFAULT_ESBUILD_CONFIG, extractESBuildConfig, resolveESBuildEntry } from "powerlines/lib/build/esbuild";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ESBuildBuildConfig } from "
|
|
2
|
-
import { ESBuildResolvedConfig } from "
|
|
3
|
-
import { PluginContext } from "
|
|
1
|
+
import { ESBuildBuildConfig } from "../powerlines/src/types/build.cjs";
|
|
2
|
+
import { ESBuildResolvedConfig } from "../powerlines/src/types/resolved.cjs";
|
|
3
|
+
import { PluginContext } from "../powerlines/src/types/context.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
|
6
6
|
type ESBuildPluginOptions = Partial<ESBuildBuildConfig>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ESBuildBuildConfig } from "
|
|
2
|
-
import { ESBuildResolvedConfig } from "
|
|
3
|
-
import { PluginContext } from "
|
|
1
|
+
import { ESBuildBuildConfig } from "../powerlines/src/types/build.mjs";
|
|
2
|
+
import { ESBuildResolvedConfig } from "../powerlines/src/types/resolved.mjs";
|
|
3
|
+
import { PluginContext } from "../powerlines/src/types/context.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
|
6
6
|
type ESBuildPluginOptions = Partial<ESBuildBuildConfig>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-esbuild",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.190",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using esbuild.",
|
|
6
6
|
"repository": {
|
|
@@ -152,13 +152,13 @@
|
|
|
152
152
|
"defu": "^6.1.4",
|
|
153
153
|
"esbuild": "^0.25.12",
|
|
154
154
|
"jiti": "^2.6.1",
|
|
155
|
-
"powerlines": "^0.37.
|
|
155
|
+
"powerlines": "^0.37.55",
|
|
156
156
|
"unplugin": "3.0.0-beta.3"
|
|
157
157
|
},
|
|
158
158
|
"devDependencies": {
|
|
159
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
159
|
+
"@powerlines/plugin-plugin": "^0.12.133",
|
|
160
160
|
"@types/node": "^24.10.9"
|
|
161
161
|
},
|
|
162
162
|
"publishConfig": { "access": "public" },
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "5c6a45da350207ae49328ff5a6330415e872a319"
|
|
164
164
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|