@ozdao/prometheus-framework 0.2.165 → 0.2.167

Sign up to get free protection for your applications and to get access to all the features.
package/dist/builder.js CHANGED
@@ -586,7 +586,7 @@ var webpack_config_client = (projectRoot) => {
586
586
  mode: !isProd2 ? "development" : "production",
587
587
  devtool: !isProd2 ? "inline-source-map" : "source-map",
588
588
  entry: {
589
- main: path$3.resolve(projectRoot, "src/entry-client.js")
589
+ main: !isProd2 ? [path$3.resolve("../utils/hot-reload.js"), path$3.resolve(projectRoot, "src/entry-client.js")] : path$3.resolve(projectRoot, "src/entry-client.js")
590
590
  },
591
591
  module: {
592
592
  rules: []
package/dist/builder.mjs CHANGED
@@ -563,7 +563,7 @@ var webpack_config_client = (projectRoot) => {
563
563
  mode: !isProd2 ? "development" : "production",
564
564
  devtool: !isProd2 ? "inline-source-map" : "source-map",
565
565
  entry: {
566
- main: path$3.resolve(projectRoot, "src/entry-client.js")
566
+ main: !isProd2 ? [path$3.resolve("../utils/hot-reload.js"), path$3.resolve(projectRoot, "src/entry-client.js")] : path$3.resolve(projectRoot, "src/entry-client.js")
567
567
  },
568
568
  module: {
569
569
  rules: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.165",
3
+ "version": "0.2.167",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -18,7 +18,9 @@ module.exports = (projectRoot) => {
18
18
  mode: !isProd ? "development" : "production",
19
19
  devtool: !isProd ? "inline-source-map" : "source-map",
20
20
  entry: {
21
- main: path.resolve(projectRoot, "src/entry-client.js")
21
+ main: !isProd
22
+ ? [path.resolve("../utils/hot-reload.js"), path.resolve(projectRoot, "src/entry-client.js")]
23
+ : path.resolve(projectRoot, "src/entry-client.js"),
22
24
  },
23
25
  module: {
24
26
  rules: [],