@unsetsoft/ryunixjs 0.2.37-nightly.17 → 0.2.37-nightly.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.37-nightly.17",
3
+ "version": "0.2.37-nightly.19",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,
@@ -29,10 +29,8 @@
29
29
  "@babel/preset-react": "^7.22.5",
30
30
  "@mdx-js/loader": "^2.3.0",
31
31
  "babel-loader": "^9.1.3",
32
- "cors": "^2.8.5",
33
32
  "crypto": "^1.0.1",
34
33
  "css-loader": "^6.8.1",
35
- "express": "^4.18.2",
36
34
  "file-loader": "^6.2.0",
37
35
  "glob": "^10.3.7",
38
36
  "html-loader": "^4.2.0",
@@ -22,8 +22,10 @@ if (manager === "yarn" || manager === "npm" || manager === "bun") {
22
22
  throw new Error(`The manager ${manager} is not supported.`);
23
23
  }
24
24
 
25
+ const mode = config.production ? "production" : "development";
26
+
25
27
  export default {
26
- mode: config.production ? "production" : "development",
28
+ mode,
27
29
  context: resolveApp(dir, config.appDirectory),
28
30
  entry: "./main.ryx",
29
31
  devtool: "nosources-source-map",
@@ -116,7 +118,7 @@ export default {
116
118
  options: { limit: false },
117
119
  },
118
120
  {
119
- test: /\.ico$/i,
121
+ test: /\.ico|.png$/i,
120
122
  type: "asset/resource",
121
123
  generator: {
122
124
  filename: "[name][ext][query]",
@@ -129,7 +131,7 @@ export default {
129
131
  },
130
132
  plugins: [
131
133
  new HtmlWebpackPlugin({
132
- favicon: resolveApp(dir, `${config.publicDirectory}/favicon.ico`),
134
+ favicon: resolveApp(dir, `${config.publicDirectory}/favicon.png`),
133
135
  template: resolveApp(dir, `${config.publicDirectory}/index.html`),
134
136
  }),
135
137
  ],