filecat 5.23.2 → 5.23.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/README.md +9 -14
- package/build/dist/{247.caa8949b54e0e6e17263.js → 247.07dcc62d939135ff2ff0.js} +2 -2
- package/build/dist/{296.8bf13981adcd77166067.js → 296.2154e83f3a83e66369a2.js} +2 -2
- package/build/dist/325.f785a768ed8797f36d13.js +2 -0
- package/build/dist/40.fdaea34513bd946cb7b9.js +2 -0
- package/build/dist/{431.42a8e3504f0c20be00d1.js → 431.331917a6a61c011a6913.js} +2 -2
- package/build/dist/441.8521ebb38d1e47d62e83.js +2 -0
- package/build/dist/523.3f09d3995b6297f56584.js +2 -0
- package/build/dist/{584.f22527c5682876656491.js → 584.290015da9108003d6516.js} +2 -2
- package/build/dist/{603.b62d89c74f6f2ee1b855.js → 603.d5f0009883fa046cfeb3.js} +2 -2
- package/build/dist/{661.efab620607f961304682.js → 661.6c2de327ed192c0ebbc2.js} +2 -2
- package/build/dist/{704.15054b9c67a80f07d723.js → 704.34dad7edba053566d627.js} +2 -2
- package/build/dist/759.ac0d69796668d718026d.js +2 -0
- package/build/dist/{943.6360059826b561a14949.js → 943.5983a1e59b1db14dc7d8.js} +2 -2
- package/build/dist/{962.9eb90de9218581df0fb5.js → 962.b2b57a20cfd5de5bae6f.js} +2 -2
- package/build/dist/963.4a7c8fe0dce67f1fbc98.js +2 -0
- package/build/dist/{984.49d1aa99333900fa09f5.js → 984.79f020a2cbd6a02d5c12.js} +2 -2
- package/build/dist/998.735c4789e7c198fdc79c.js +2 -0
- package/build/dist/index.html +1 -1
- package/build/dist/main.2e25aa585083497591a3.js +2 -0
- package/build/main.js +1 -1
- package/build/threads.work.filecat.js +1 -1
- package/package.json +1 -1
- package/shell/build.js +12 -7
- package/shell/dev.js +1 -1
- package/shell/pkg.ts +2 -1
- package/shell/start/windows-install.js +58 -11
- package/shell/start/windows-uninstall.js +44 -5
- package/shell/util/file.js +46 -0
- package/build/dist/325.c7b42884ca3f90a3e23b.js +0 -2
- package/build/dist/40.72defafe55e426b283c6.js +0 -2
- package/build/dist/441.f4e3fa7218cff39d8f36.js +0 -2
- package/build/dist/523.e773ebf3ccfcf3d84c73.js +0 -2
- package/build/dist/759.215c1d5fe9327751a35d.js +0 -2
- package/build/dist/963.1ed6e8e5938babda8a80.js +0 -2
- package/build/dist/998.b067c11e6c3ec563f01f.js +0 -2
- package/build/dist/main.b2c4cedb05c5a34a2565.js +0 -2
- package/shell/config/webpack.worker.get.js +0 -42
- /package/build/dist/{247.caa8949b54e0e6e17263.js.LICENSE.txt → 247.07dcc62d939135ff2ff0.js.LICENSE.txt} +0 -0
- /package/build/dist/{296.8bf13981adcd77166067.js.LICENSE.txt → 296.2154e83f3a83e66369a2.js.LICENSE.txt} +0 -0
- /package/build/dist/{325.c7b42884ca3f90a3e23b.js.LICENSE.txt → 325.f785a768ed8797f36d13.js.LICENSE.txt} +0 -0
- /package/build/dist/{40.72defafe55e426b283c6.js.LICENSE.txt → 40.fdaea34513bd946cb7b9.js.LICENSE.txt} +0 -0
- /package/build/dist/{431.42a8e3504f0c20be00d1.js.LICENSE.txt → 431.331917a6a61c011a6913.js.LICENSE.txt} +0 -0
- /package/build/dist/{441.f4e3fa7218cff39d8f36.js.LICENSE.txt → 441.8521ebb38d1e47d62e83.js.LICENSE.txt} +0 -0
- /package/build/dist/{523.e773ebf3ccfcf3d84c73.js.LICENSE.txt → 523.3f09d3995b6297f56584.js.LICENSE.txt} +0 -0
- /package/build/dist/{584.f22527c5682876656491.js.LICENSE.txt → 584.290015da9108003d6516.js.LICENSE.txt} +0 -0
- /package/build/dist/{603.b62d89c74f6f2ee1b855.js.LICENSE.txt → 603.d5f0009883fa046cfeb3.js.LICENSE.txt} +0 -0
- /package/build/dist/{661.efab620607f961304682.js.LICENSE.txt → 661.6c2de327ed192c0ebbc2.js.LICENSE.txt} +0 -0
- /package/build/dist/{704.15054b9c67a80f07d723.js.LICENSE.txt → 704.34dad7edba053566d627.js.LICENSE.txt} +0 -0
- /package/build/dist/{759.215c1d5fe9327751a35d.js.LICENSE.txt → 759.ac0d69796668d718026d.js.LICENSE.txt} +0 -0
- /package/build/dist/{943.6360059826b561a14949.js.LICENSE.txt → 943.5983a1e59b1db14dc7d8.js.LICENSE.txt} +0 -0
- /package/build/dist/{962.9eb90de9218581df0fb5.js.LICENSE.txt → 962.b2b57a20cfd5de5bae6f.js.LICENSE.txt} +0 -0
- /package/build/dist/{963.1ed6e8e5938babda8a80.js.LICENSE.txt → 963.4a7c8fe0dce67f1fbc98.js.LICENSE.txt} +0 -0
- /package/build/dist/{984.49d1aa99333900fa09f5.js.LICENSE.txt → 984.79f020a2cbd6a02d5c12.js.LICENSE.txt} +0 -0
- /package/build/dist/{998.b067c11e6c3ec563f01f.js.LICENSE.txt → 998.735c4789e7c198fdc79c.js.LICENSE.txt} +0 -0
- /package/build/dist/{main.b2c4cedb05c5a34a2565.js.LICENSE.txt → main.2e25aa585083497591a3.js.LICENSE.txt} +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
const package_data = require("../../package.json")
|
|
3
|
-
const webpack = require('webpack');
|
|
4
|
-
const TerserPlugin = require("terser-webpack-plugin");
|
|
5
|
-
const {base_url} = require("./env");
|
|
6
|
-
const {plugins, pkg_externals, npm_externals, _node_rules} = require("./base.webpack.config");
|
|
7
|
-
|
|
8
|
-
function get_webpack_work_config({entry_path,output_name,is_exe}) {
|
|
9
|
-
const config = {
|
|
10
|
-
target: 'node', // 指定打包结果运行在node环境下
|
|
11
|
-
mode: 'production', // 或者 'production'
|
|
12
|
-
entry: entry_path, // 你的TypeScript入口文件路径
|
|
13
|
-
output: {
|
|
14
|
-
path: path.resolve(__dirname, "..",'..', "build"), // 输出目录
|
|
15
|
-
filename: output_name, // 输出文件名
|
|
16
|
-
},
|
|
17
|
-
resolve: {
|
|
18
|
-
extensions: ['.ts', '.js', '.node'] // 解析文件时自动补全的文件扩展名
|
|
19
|
-
},
|
|
20
|
-
externalsPresets: { node: true },
|
|
21
|
-
optimization: {
|
|
22
|
-
minimize: true, // 压缩Js代码
|
|
23
|
-
minimizer: [
|
|
24
|
-
new TerserPlugin({
|
|
25
|
-
// extractComments: true,//不将注释提取到单独的文件中
|
|
26
|
-
}),
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
plugins,
|
|
30
|
-
externals: npm_externals
|
|
31
|
-
}
|
|
32
|
-
if(is_exe) {
|
|
33
|
-
// 整体打包需要二进制也进去
|
|
34
|
-
config['module'] = {
|
|
35
|
-
rules: _node_rules
|
|
36
|
-
}
|
|
37
|
-
config['externals'] = pkg_externals;
|
|
38
|
-
}
|
|
39
|
-
return config;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
module.exports.get_webpack_work_config = get_webpack_work_config;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|