zephyr-webpack-plugin 0.0.32 → 0.0.34
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/README.md
CHANGED
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# zephyr-webpack-plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<div align="center">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[Zephyr Cloud](https://zephyr-cloud.io) | [Zephyr Docs](https://docs.zephyr-cloud.io/recipes/rspack-react) | [Rspack Docs](https://rspack.dev) | [Discord](https://zephyr-cloud.io/discord) | [Twitter](https://x.com/ZephyrCloudIO) | [LinkedIn](https://www.linkedin.com/company/zephyr-cloud/)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
<hr/>
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
# npm
|
|
14
|
+
npm install --save-dev zephyr-webpack-plugin
|
|
15
|
+
# yarn
|
|
16
|
+
yarn add --dev zephyr-webpack-plugin
|
|
17
|
+
# pnpm
|
|
18
|
+
pnpm add --dev zephyr-webpack-plugin
|
|
19
|
+
# bun
|
|
20
|
+
bun add --dev zephyr-webpack-plugin
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
### With Nx, Webpack or Rspack
|
|
8
26
|
|
|
9
27
|
```
|
|
10
28
|
export default composePlugins(
|
|
@@ -18,7 +36,7 @@ export default composePlugins(
|
|
|
18
36
|
);
|
|
19
37
|
```
|
|
20
38
|
|
|
21
|
-
|
|
39
|
+
### With Webpack directly
|
|
22
40
|
|
|
23
41
|
```
|
|
24
42
|
module.exports = withZephyr()(your_webpack_config);
|
package/dist/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withZephyr =
|
|
3
|
+
exports.withZephyr = withZephyr;
|
|
4
4
|
const zephyr_agent_1 = require("zephyr-agent");
|
|
5
5
|
const ze_webpack_plugin_1 = require("./ze-webpack-plugin");
|
|
6
6
|
const zephyr_xpack_internal_1 = require("zephyr-xpack-internal");
|
|
7
7
|
function withZephyr(zephyrPluginOptions) {
|
|
8
8
|
return (config) => _zephyr_configuration(config, zephyrPluginOptions);
|
|
9
9
|
}
|
|
10
|
-
exports.withZephyr = withZephyr;
|
|
11
10
|
async function _zephyr_configuration(config, _zephyrOptions) {
|
|
12
11
|
// create instance of ZephyrEngine to track the application
|
|
13
12
|
const zephyr_engine = await zephyr_agent_1.ZephyrEngine.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/webpack-plugin/with-zephyr.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/webpack-plugin/with-zephyr.ts"],"names":[],"mappings":";;AAYA,gCAEC;AAbD,+CAAoD;AAEpD,2DAAsD;AAGtD,iEAI+B;AAE/B,SAAgB,UAAU,CAAC,mBAAgD;IACzE,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AACvF,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,MAA4B,EAC5B,cAA2C;IAE3C,2DAA2D;IAC3D,MAAM,aAAa,GAAG,MAAM,2BAAY,CAAC,MAAM,CAAC;QAC9C,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC,CAAC;IAEH,6CAA6C;IAC7C,MAAM,eAAe,GAAG,IAAA,uDAA+B,EAAC,MAAM,CAAC,CAAC;IAChE,MAAM,yBAAyB,GAC7B,MAAM,aAAa,CAAC,2BAA2B,CAAC,eAAe,CAAC,CAAC;IAEnE,IAAA,wDAAgC,EAAC,aAAa,EAAE,MAAM,EAAE,yBAAyB,CAAC,CAAC;IAEnF,MAAM,QAAQ,GAAG,IAAA,yDAAiC,EAAC,MAAM,CAAC,CAAC;IAE3D,IAAA,qBAAM,EAAC,yBAAyB,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IAErE,iCAAiC;IACjC,MAAM,CAAC,OAAO,EAAE,IAAI,CAClB,IAAI,mCAAe,CAAC;QAClB,aAAa;QACb,QAAQ,EAAE,QAAQ;QAClB,mBAAmB,EAAE,cAAc,EAAE,mBAAmB;KACzD,CAAC,CACH,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-webpack-plugin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"is-ci": "^3.0.1",
|
|
11
11
|
"tslib": "^2.3.0",
|
|
12
12
|
"webpack": "^5.93.0",
|
|
13
|
-
"zephyr-xpack-internal": "0.0.
|
|
14
|
-
"zephyr-agent": "0.0.
|
|
13
|
+
"zephyr-xpack-internal": "0.0.34",
|
|
14
|
+
"zephyr-agent": "0.0.34"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/is-ci": "^3.0.4",
|