@unsetsoft/ryunixjs 0.2.31-nightly.7 → 0.2.31-nightly.9
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/bin/compiler.js +2 -2
- package/bin/serve.js +2 -3
- package/package.json +1 -2
- package/utils/index.js +1 -3
- package/webpack.config.js +0 -2
package/bin/compiler.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Can be imported from webpack package
|
|
2
2
|
import webpack from "webpack";
|
|
3
|
-
import webpackConfig from "../webpack.config.js";
|
|
3
|
+
import * as webpackConfig from "../webpack.config.js";
|
|
4
4
|
const compiler = webpack(webpackConfig);
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
export { compiler };
|
package/bin/serve.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Webpack from "webpack";
|
|
2
2
|
import WebpackDevServer from "webpack-dev-server";
|
|
3
|
-
import webpackConfig from "../webpack.config.js";
|
|
4
|
-
|
|
3
|
+
import * as webpackConfig from "../webpack.config.js";
|
|
5
4
|
|
|
6
5
|
const StartServer = async (cliSettings) => {
|
|
7
6
|
const compiler = Webpack(webpackConfig);
|
|
@@ -11,4 +10,4 @@ const StartServer = async (cliSettings) => {
|
|
|
11
10
|
await server.start();
|
|
12
11
|
};
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
export { StartServer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unsetsoft/ryunixjs",
|
|
3
|
-
"version": "0.2.31-nightly.
|
|
3
|
+
"version": "0.2.31-nightly.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/Ryunix.js",
|
|
6
6
|
"private": false,
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"@babel/preset-react": "^7.22.5",
|
|
30
30
|
"babel-loader": "^9.1.3",
|
|
31
31
|
"css-loader": "^6.8.1",
|
|
32
|
-
"error-overlay-webpack-plugin": "^1.1.1",
|
|
33
32
|
"file-loader": "^6.2.0",
|
|
34
33
|
"html-loader": "^4.2.0",
|
|
35
34
|
"html-webpack-plugin": "^5.5.3",
|
package/utils/index.js
CHANGED
package/webpack.config.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
3
|
-
import * as ErrorOverlayPlugin from "error-overlay-webpack-plugin";
|
|
4
3
|
import { getPackageManager } from "./utils/index.js";
|
|
5
4
|
import RemarkHTML from "remark-html";
|
|
6
5
|
|
|
@@ -114,7 +113,6 @@ module.exports = {
|
|
|
114
113
|
new HtmlWebpackPlugin({
|
|
115
114
|
template: path.join(dir, "public", "index.html"),
|
|
116
115
|
}),
|
|
117
|
-
new ErrorOverlayPlugin(),
|
|
118
116
|
],
|
|
119
117
|
externals: {
|
|
120
118
|
ryunix: "Ryunix",
|