@atls/webpack-start-server-plugin 1.0.1 → 1.0.2
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 +31 -0
- package/dist/start-server.plugin.js +8 -5
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
## 1.0.2 (2025-01-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* **common:** yarn check ([#485](https://github.com/atls/raijin/issues/485)) ([b0c3cfa](https://github.com/atls/raijin/commit/b0c3cfad8f559c55691ca733c7a3a7b3cd00c4d8))
|
|
10
|
+
* **plugin-service:** build and dev commands ([e4af7f4](https://github.com/atls/raijin/commit/e4af7f441c1b1e8c5bc6779c83b2ed44b21894c9))
|
|
11
|
+
* typecheck ([27ccb0e](https://github.com/atls/raijin/commit/27ccb0ef63898afd00b830952914e060b8dd5593))
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
* **common:** bump to minor ([775c630](https://github.com/atls/raijin/commit/775c630061f91970a65e34afabeea8d029e02176))
|
|
17
|
+
* **common:** finalize cli & webpack, update yarn workspace ([0f2736c](https://github.com/atls/raijin/commit/0f2736c6d37f8141a1a50c352bf80d7ffb2f4ea7))
|
|
18
|
+
* init code-runtime, WIP for yrnpkg 3v downgrading ([587d7dc](https://github.com/atls/raijin/commit/587d7dc75c6b08c2a4b0a0b4bf380939de83a6c3))
|
|
19
|
+
* remove @atls/builder, init cli-ui-schematics ([9a89280](https://github.com/atls/raijin/commit/9a892802fc3571f5ca46da67dcd10dcdc016e476))
|
|
20
|
+
* remove repository field, add cli & webpack utilities ([f47613e](https://github.com/atls/raijin/commit/f47613e9784e9eea86ed98e712198b000ca5766d))
|
|
21
|
+
* update common deps ([b5098e8](https://github.com/atls/raijin/commit/b5098e843c0153a476c16ae8607ba2b598accb60))
|
|
22
|
+
* update deps ([de29dbf](https://github.com/atls/raijin/commit/de29dbffcc0c1b9cf081825987e733352b1761a7))
|
|
23
|
+
* webpack ([5aa84f0](https://github.com/atls/raijin/commit/5aa84f00d53a91cf591afeba1176439fabe023ff))
|
|
24
|
+
* webpack to ecma modules, bump types/node ([fc27beb](https://github.com/atls/raijin/commit/fc27beb5ea6ad5431fa335c294191e933392b6d6))
|
|
25
|
+
* **webpack:** add localtunnel & server starter plugin ([400a7d3](https://github.com/atls/raijin/commit/400a7d373261e12f6cd134ac5254b840af66351e))
|
|
26
|
+
* **webpack:** bump, andd proto loader ([#463](https://github.com/atls/raijin/issues/463)) ([d2ab540](https://github.com/atls/raijin/commit/d2ab540602c9009f42d15c7e9f0d48ce049d8ac1))
|
|
27
|
+
* yarn tests utils ([3e5d057](https://github.com/atls/raijin/commit/3e5d057d79b1967e20f51fec5a8ff650f2d7037b))
|
|
28
|
+
* **yarn:** essentials, renderer, tools, types, ui ([e683746](https://github.com/atls/raijin/commit/e683746e203e1d8486c1f4d92d9d9d8f785f84ee))
|
|
29
|
+
* **yarn:** workspace utils ([ffc200d](https://github.com/atls/raijin/commit/ffc200d0f0cf6444fe9053a7f046a5d039f79177))
|
|
30
|
+
|
|
31
|
+
|
|
@@ -28,11 +28,14 @@ export class StartServerPlugin {
|
|
|
28
28
|
};
|
|
29
29
|
startServer = (compilation, callback) => {
|
|
30
30
|
this.logger.info('Starting server...');
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
this.
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
const { path } = compilation.compiler.options.output;
|
|
32
|
+
if (path) {
|
|
33
|
+
this.entryFile = join(path, 'index.js');
|
|
34
|
+
this.runWorker(this.entryFile, (worker) => {
|
|
35
|
+
this.worker = worker;
|
|
36
|
+
callback();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
36
39
|
};
|
|
37
40
|
runWorker(entryFile, callback) {
|
|
38
41
|
const worker = fork(entryFile, [], {
|