@ozdao/prometheus-framework 0.2.170 → 0.2.171
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +2 -5
- package/dist/builder.mjs +2 -5
- package/package.json +1 -1
- package/src/builder/modes/ssr.dev.js +2 -2
package/dist/builder.js
CHANGED
@@ -27,11 +27,9 @@ const require$$2$1 = require("compression");
|
|
27
27
|
const require$$3$1 = require("readline");
|
28
28
|
const require$$4 = require("chalk");
|
29
29
|
const require$$5 = require("webpack-dev-middleware");
|
30
|
-
require("webpack-hot-middleware");
|
31
30
|
const require$$1 = require("mustache");
|
32
31
|
const require$$2 = require("chokidar");
|
33
32
|
const require$$3 = require("fs");
|
34
|
-
const require$$9 = require("webpack-hot-middleware/client.js");
|
35
33
|
const require$$1$2 = require("express");
|
36
34
|
const require$$6 = require("connect-history-api-fallback");
|
37
35
|
const require$$2$2 = require("vue-loader");
|
@@ -45,7 +43,7 @@ const require$$4$2 = require("webpack-stats-plugin");
|
|
45
43
|
const require$$6$2 = require("css-minimizer-webpack-plugin");
|
46
44
|
const require$$7 = require("terser-webpack-plugin");
|
47
45
|
const require$$8 = require("workbox-webpack-plugin");
|
48
|
-
const require$$9
|
46
|
+
const require$$9 = require("purgecss-webpack-plugin");
|
49
47
|
const require$$2$3 = require("webpack-node-externals");
|
50
48
|
const require$$6$3 = require("copy-webpack-plugin");
|
51
49
|
const require$$8$1 = require("html-webpack-plugin");
|
@@ -229,7 +227,6 @@ var ssr_dev = function createSsrDevServer(projectRoot, { clientConfig: clientCon
|
|
229
227
|
rendererInstance = createDevRenderer(() => {
|
230
228
|
clientCompiler.hooks.done.tap("reload", () => {
|
231
229
|
setTimeout(() => {
|
232
|
-
require$$9.reload();
|
233
230
|
}, 500);
|
234
231
|
});
|
235
232
|
});
|
@@ -565,7 +562,7 @@ const { StatsWriterPlugin: StatsWriterPlugin$1 } = require$$4$2;
|
|
565
562
|
const CssMinimizerPlugin$1 = require$$6$2;
|
566
563
|
const TerserPlugin$1 = require$$7;
|
567
564
|
const WorkboxPlugin = require$$8;
|
568
|
-
const PurgeCSSPlugin = require$$9
|
565
|
+
const PurgeCSSPlugin = require$$9;
|
569
566
|
const baseConfig$1 = webpack_config_base;
|
570
567
|
var webpack_config_client = (projectRoot) => {
|
571
568
|
const isProd2 = process.env.NODE_ENV === "production";
|
package/dist/builder.mjs
CHANGED
@@ -4,11 +4,9 @@ import require$$2$1 from "compression";
|
|
4
4
|
import require$$3$1 from "readline";
|
5
5
|
import require$$4 from "chalk";
|
6
6
|
import require$$5 from "webpack-dev-middleware";
|
7
|
-
import "webpack-hot-middleware";
|
8
7
|
import require$$1 from "mustache";
|
9
8
|
import require$$2 from "chokidar";
|
10
9
|
import require$$3 from "fs";
|
11
|
-
import require$$9 from "webpack-hot-middleware/client.js";
|
12
10
|
import require$$1$2 from "express";
|
13
11
|
import require$$6 from "connect-history-api-fallback";
|
14
12
|
import require$$2$2 from "vue-loader";
|
@@ -22,7 +20,7 @@ import require$$4$2 from "webpack-stats-plugin";
|
|
22
20
|
import require$$6$2 from "css-minimizer-webpack-plugin";
|
23
21
|
import require$$7 from "terser-webpack-plugin";
|
24
22
|
import require$$8 from "workbox-webpack-plugin";
|
25
|
-
import require$$9
|
23
|
+
import require$$9 from "purgecss-webpack-plugin";
|
26
24
|
import require$$2$3 from "webpack-node-externals";
|
27
25
|
import require$$6$3 from "copy-webpack-plugin";
|
28
26
|
import require$$8$1 from "html-webpack-plugin";
|
@@ -206,7 +204,6 @@ var ssr_dev = function createSsrDevServer(projectRoot, { clientConfig: clientCon
|
|
206
204
|
rendererInstance = createDevRenderer(() => {
|
207
205
|
clientCompiler.hooks.done.tap("reload", () => {
|
208
206
|
setTimeout(() => {
|
209
|
-
require$$9.reload();
|
210
207
|
}, 500);
|
211
208
|
});
|
212
209
|
});
|
@@ -542,7 +539,7 @@ const { StatsWriterPlugin: StatsWriterPlugin$1 } = require$$4$2;
|
|
542
539
|
const CssMinimizerPlugin$1 = require$$6$2;
|
543
540
|
const TerserPlugin$1 = require$$7;
|
544
541
|
const WorkboxPlugin = require$$8;
|
545
|
-
const PurgeCSSPlugin = require$$9
|
542
|
+
const PurgeCSSPlugin = require$$9;
|
546
543
|
const baseConfig$1 = webpack_config_base;
|
547
544
|
var webpack_config_client = (projectRoot) => {
|
548
545
|
const isProd2 = process.env.NODE_ENV === "production";
|
package/package.json
CHANGED
@@ -5,7 +5,7 @@ const readline = require('readline');
|
|
5
5
|
const chalk = require('chalk');
|
6
6
|
|
7
7
|
const devMiddleware = require("webpack-dev-middleware");
|
8
|
-
const hotMiddleware = require("webpack-hot-middleware");
|
8
|
+
// const hotMiddleware = require("webpack-hot-middleware");
|
9
9
|
|
10
10
|
const { createHtmlRenderer } = require("../ssr/ssr-render-html.js");
|
11
11
|
const { transformDevStats } = require("../ssr/ssr-transform-webpack-stats.js");
|
@@ -138,7 +138,7 @@ module.exports = function createSsrDevServer(projectRoot, { clientConfig, server
|
|
138
138
|
rendererInstance = createDevRenderer(() => {
|
139
139
|
clientCompiler.hooks.done.tap("reload", () => {
|
140
140
|
setTimeout(() => {
|
141
|
-
require("webpack-hot-middleware/client").reload();
|
141
|
+
// require("webpack-hot-middleware/client").reload();
|
142
142
|
}, 500);
|
143
143
|
});
|
144
144
|
});
|