@utoo/pack-shared 1.5.6-alpha.3 → 1.5.6-alpha.5
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/cjs/config.d.ts +0 -2
- package/cjs/hmr.d.ts +1 -0
- package/cjs/webpackCompat.js +0 -3
- package/esm/config.d.ts +0 -2
- package/esm/hmr.d.ts +1 -0
- package/esm/webpackCompat.js +0 -3
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -162,8 +162,6 @@ export interface DevServerConfig {
|
|
|
162
162
|
hot?: boolean;
|
|
163
163
|
/** Register HMR chunk lists as dynamic chunks are loaded. */
|
|
164
164
|
dynamicHmrChunkLists?: boolean;
|
|
165
|
-
/** Compile development assets when they are requested instead of eagerly. */
|
|
166
|
-
lazyCompilation?: boolean;
|
|
167
165
|
/** Port to listen on. */
|
|
168
166
|
port?: number;
|
|
169
167
|
/** Host to bind (e.g. localhost, 0.0.0.0). */
|
package/cjs/hmr.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export type HMR_ACTION_TYPES = TurbopackMessageAction | TurbopackConnectedAction
|
|
|
128
128
|
export interface TurbopackSubscribeMessage {
|
|
129
129
|
type: "turbopack-subscribe";
|
|
130
130
|
path: string;
|
|
131
|
+
version?: string;
|
|
131
132
|
}
|
|
132
133
|
export interface TurbopackUnsubscribeMessage {
|
|
133
134
|
type: "turbopack-unsubscribe";
|
package/cjs/webpackCompat.js
CHANGED
|
@@ -516,9 +516,6 @@ function compatDevServer(devServer) {
|
|
|
516
516
|
if (typeof devServer.dynamicHmrChunkLists !== "undefined") {
|
|
517
517
|
result.dynamicHmrChunkLists = !!devServer.dynamicHmrChunkLists;
|
|
518
518
|
}
|
|
519
|
-
if (typeof devServer.lazyCompilation !== "undefined") {
|
|
520
|
-
result.lazyCompilation = !!devServer.lazyCompilation;
|
|
521
|
-
}
|
|
522
519
|
if (typeof devServer.port !== "undefined") {
|
|
523
520
|
const p = Number(devServer.port);
|
|
524
521
|
if (!Number.isNaN(p))
|
package/esm/config.d.ts
CHANGED
|
@@ -162,8 +162,6 @@ export interface DevServerConfig {
|
|
|
162
162
|
hot?: boolean;
|
|
163
163
|
/** Register HMR chunk lists as dynamic chunks are loaded. */
|
|
164
164
|
dynamicHmrChunkLists?: boolean;
|
|
165
|
-
/** Compile development assets when they are requested instead of eagerly. */
|
|
166
|
-
lazyCompilation?: boolean;
|
|
167
165
|
/** Port to listen on. */
|
|
168
166
|
port?: number;
|
|
169
167
|
/** Host to bind (e.g. localhost, 0.0.0.0). */
|
package/esm/hmr.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export type HMR_ACTION_TYPES = TurbopackMessageAction | TurbopackConnectedAction
|
|
|
128
128
|
export interface TurbopackSubscribeMessage {
|
|
129
129
|
type: "turbopack-subscribe";
|
|
130
130
|
path: string;
|
|
131
|
+
version?: string;
|
|
131
132
|
}
|
|
132
133
|
export interface TurbopackUnsubscribeMessage {
|
|
133
134
|
type: "turbopack-unsubscribe";
|
package/esm/webpackCompat.js
CHANGED
|
@@ -513,9 +513,6 @@ function compatDevServer(devServer) {
|
|
|
513
513
|
if (typeof devServer.dynamicHmrChunkLists !== "undefined") {
|
|
514
514
|
result.dynamicHmrChunkLists = !!devServer.dynamicHmrChunkLists;
|
|
515
515
|
}
|
|
516
|
-
if (typeof devServer.lazyCompilation !== "undefined") {
|
|
517
|
-
result.lazyCompilation = !!devServer.lazyCompilation;
|
|
518
|
-
}
|
|
519
516
|
if (typeof devServer.port !== "undefined") {
|
|
520
517
|
const p = Number(devServer.port);
|
|
521
518
|
if (!Number.isNaN(p))
|