@unsetsoft/ryunixjs 0.2.34 → 0.2.35-nightly.0

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 +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.2.34",
3
+ "version": "0.2.35-nightly.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,
@@ -112,6 +112,17 @@ export default {
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
+ },
115
126
  ],
116
127
  },
117
128
  resolve: {
@@ -119,7 +130,9 @@ export default {
119
130
  },
120
131
  plugins: [
121
132
  new HtmlWebpackPlugin({
133
+ favicon: join(dir, "public", "favicon.ico"),
122
134
  template: join(dir, "public", "index.html"),
135
+ publicPath: join(dir, "public"),
123
136
  }),
124
137
  ],
125
138
  externals: {