@unsetsoft/ryunixjs 0.2.35-nightly.0 → 0.2.35-nightly.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/webpack.config.mjs +3 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.35-nightly.0",
3
+ "version": "0.2.35-nightly.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,
@@ -96,7 +96,7 @@ export default {
96
96
  use: ["style-loader", "css-loader", "sass-loader"],
97
97
  },
98
98
  {
99
- test: /\.(jpg|jpeg|png|gif|mp3|svg|mp4|pdf)$/,
99
+ test: /\.(jpg|jpeg|png|gif|mp3|svg|mp4|pdf|ico)$/,
100
100
  use: [
101
101
  {
102
102
  loader: "file-loader",
@@ -108,21 +108,10 @@ export default {
108
108
  ],
109
109
  },
110
110
  {
111
- test: /\.(png|woff|woff2|eot|ttf|svg|pdf)$/, // to import images and fonts
111
+ test: /\.(png|woff|woff2|eot|ttf|svg|pdf|ico)$/, // to import images and fonts
112
112
  loader: "url-loader",
113
113
  options: { limit: false },
114
114
  },
115
- {
116
- test: /\.(ico)$/,
117
- use: [
118
- {
119
- loader: "file-loader",
120
- options: {
121
- name: "[name].[ext]",
122
- },
123
- },
124
- ],
125
- },
126
115
  ],
127
116
  },
128
117
  resolve: {
@@ -130,7 +119,7 @@ export default {
130
119
  },
131
120
  plugins: [
132
121
  new HtmlWebpackPlugin({
133
- favicon: join(dir, "public", "favicon.ico"),
122
+ favicon: `./${dir}/public/favicon.ico`,
134
123
  template: join(dir, "public", "index.html"),
135
124
  publicPath: join(dir, "public"),
136
125
  }),