@unsetsoft/ryunixjs 0.2.34 → 0.2.35-nightly.1
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 +1 -1
- package/webpack.config.mjs +4 -2
package/package.json
CHANGED
package/webpack.config.mjs
CHANGED
|
@@ -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,7 +108,7 @@ 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
|
},
|
|
@@ -119,7 +119,9 @@ export default {
|
|
|
119
119
|
},
|
|
120
120
|
plugins: [
|
|
121
121
|
new HtmlWebpackPlugin({
|
|
122
|
+
favicon: join(dir, "public", "favicon.ico"),
|
|
122
123
|
template: join(dir, "public", "index.html"),
|
|
124
|
+
publicPath: join(dir, "public"),
|
|
123
125
|
}),
|
|
124
126
|
],
|
|
125
127
|
externals: {
|