@unsetsoft/ryunixjs 0.3.3 → 0.3.4
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/utils/config.cjs +1 -0
- package/webpack.config.mjs +4 -4
package/package.json
CHANGED
package/utils/config.cjs
CHANGED
package/webpack.config.mjs
CHANGED
|
@@ -22,7 +22,7 @@ if (manager === "yarn" || manager === "npm" || manager === "bun") {
|
|
|
22
22
|
throw new Error(`The manager ${manager} is not supported.`);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
|
|
27
27
|
export default {
|
|
28
28
|
mode: "production",
|
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
entry: "./main.ryx",
|
|
31
31
|
devtool: "nosources-source-map",
|
|
32
32
|
output: {
|
|
33
|
-
path:
|
|
33
|
+
path: resolveApp(dir, config.buildDirectory),
|
|
34
34
|
chunkFilename: "./assets/js/[name].[fullhash:8].bundle.js",
|
|
35
35
|
assetModuleFilename: "./assets/media/[name].[hash][ext]",
|
|
36
36
|
filename: "./assets/js/[name].[fullhash:8].bundle.js",
|
|
@@ -131,8 +131,8 @@ export default {
|
|
|
131
131
|
},
|
|
132
132
|
plugins: [
|
|
133
133
|
new HtmlWebpackPlugin({
|
|
134
|
-
favicon: join(dir,
|
|
135
|
-
template: join(dir,
|
|
134
|
+
favicon: join(dir, config.publicDirectory, "favicon.png"),
|
|
135
|
+
template: join(dir, config.publicDirectory, "index.html"),
|
|
136
136
|
}),
|
|
137
137
|
],
|
|
138
138
|
externals: {
|