@xfe-repo/routes-define-webpack-plugin 0.0.3 → 1.5.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.
- package/dist/index.js +5 -5
- package/package.json +6 -5
package/dist/index.js
CHANGED
|
@@ -45,12 +45,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
45
45
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
46
46
|
|
|
47
47
|
// src/index.ts
|
|
48
|
-
var
|
|
49
|
-
__export(
|
|
48
|
+
var index_exports = {};
|
|
49
|
+
__export(index_exports, {
|
|
50
50
|
RoutesDefineWebpackPlugin: () => RoutesDefineWebpackPlugin,
|
|
51
|
-
default: () =>
|
|
51
|
+
default: () => index_default
|
|
52
52
|
});
|
|
53
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
54
54
|
var import_path = __toESM(require("path"));
|
|
55
55
|
var import_fs_extra = __toESM(require("fs-extra"));
|
|
56
56
|
var PluginName = "RoutesDefineWebpackPlugin";
|
|
@@ -113,7 +113,7 @@ var RoutesDefineWebpackPlugin = class {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
var
|
|
116
|
+
var index_default = RoutesDefineWebpackPlugin;
|
|
117
117
|
// Annotate the CommonJS export names for ESM import in node:
|
|
118
118
|
0 && (module.exports = {
|
|
119
119
|
RoutesDefineWebpackPlugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xfe-repo/routes-define-webpack-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/fs-extra": "^11.0.4",
|
|
17
|
-
"@types/node": "^20.
|
|
17
|
+
"@types/node": "^20.17.0",
|
|
18
|
+
"eslint": "8.57.1",
|
|
18
19
|
"webpack": "^5.96.1",
|
|
19
|
-
"@xfe-repo/eslint-config": "
|
|
20
|
-
"@xfe-repo/typescript-config": "
|
|
20
|
+
"@xfe-repo/eslint-config": "1.5.0",
|
|
21
|
+
"@xfe-repo/typescript-config": "1.5.0"
|
|
21
22
|
},
|
|
22
23
|
"publishConfig": {
|
|
23
24
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"scripts": {
|
|
26
27
|
"build": "tsup",
|
|
27
28
|
"dev": "tsup --watch",
|
|
28
|
-
"lint": "eslint \"src/**/*.ts*\"",
|
|
29
|
+
"lint": "eslint \"src/**/*.ts*\" --fix",
|
|
29
30
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
30
31
|
}
|
|
31
32
|
}
|