prebundle 0.0.2 → 0.0.3
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 +3 -42
- package/bin.js +4 -0
- package/dist/constant.d.ts +1 -2
- package/dist/constant.js +3 -8
- package/dist/helper.d.ts +2 -2
- package/dist/helper.js +51 -89
- package/dist/index.js +6 -10
- package/dist/prebundle.d.ts +1 -1
- package/dist/prebundle.js +39 -46
- package/dist/types.d.ts +1 -6
- package/dist/types.js +1 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -15,46 +15,16 @@ Prebundle is used to:
|
|
|
15
15
|
Run following command to prebundle all dependencies:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
|
|
18
|
+
npx prebundle
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Run following command to prebundle single dependencies:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
|
|
24
|
+
npx prebundle <pkgName>
|
|
25
25
|
|
|
26
26
|
# For example, prebundle commander
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Add a new dependency
|
|
31
|
-
|
|
32
|
-
1. Remove the dependency from the `dependencies` of original package.
|
|
33
|
-
2. Add the dependency to the `devDependencies` of `@rsbuild/prebundle`. If this package has a `@types/package-name` package, it also needs to be added. It is recommended to lock the version of dependencies.
|
|
34
|
-
3. Add the task config to `src/constant.ts`:
|
|
35
|
-
|
|
36
|
-
```ts
|
|
37
|
-
const TASKS: TaskConfig[] = [
|
|
38
|
-
{
|
|
39
|
-
packageDir: 'toolkit/utils',
|
|
40
|
-
packageName: '@rsbuild/utils',
|
|
41
|
-
dependencies: [
|
|
42
|
-
// Add the package name
|
|
43
|
-
'address',
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
];
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
4. Run `pnpm start`.
|
|
50
|
-
5. Import from the compiled directory:
|
|
51
|
-
|
|
52
|
-
```ts
|
|
53
|
-
// Old
|
|
54
|
-
import foo from 'foo';
|
|
55
|
-
|
|
56
|
-
// New
|
|
57
|
-
import foo from '../compiled/foo';
|
|
27
|
+
npx prebundle commander
|
|
58
28
|
```
|
|
59
29
|
|
|
60
30
|
## Dependency Config
|
|
@@ -160,12 +130,3 @@ dependencies: [
|
|
|
160
130
|
},
|
|
161
131
|
];
|
|
162
132
|
```
|
|
163
|
-
|
|
164
|
-
## Note
|
|
165
|
-
|
|
166
|
-
We will not prebundle the following packages because their dependencies are complex or are depended by many community packages:
|
|
167
|
-
|
|
168
|
-
- @babel/some-package
|
|
169
|
-
- webpack
|
|
170
|
-
- lodash
|
|
171
|
-
- caniuse-lite
|
package/bin.js
ADDED
package/dist/constant.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export declare const ROOT_DIR: string;
|
|
2
|
-
export declare const PACKAGES_DIR: string;
|
|
3
1
|
export declare const DIST_DIR = "compiled";
|
|
4
2
|
export declare const DEFAULT_EXTERNALS: {
|
|
5
3
|
'./package.json': string;
|
|
6
4
|
'../package.json': string;
|
|
7
5
|
'../../package.json': string;
|
|
8
6
|
};
|
|
7
|
+
export declare const cwd: string;
|
package/dist/constant.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.DEFAULT_EXTERNALS = exports.DIST_DIR = exports.PACKAGES_DIR = exports.ROOT_DIR = void 0;
|
|
4
|
-
const node_path_1 = require("node:path");
|
|
5
|
-
exports.ROOT_DIR = (0, node_path_1.join)(__dirname, '..', '..', '..');
|
|
6
|
-
exports.PACKAGES_DIR = (0, node_path_1.join)(exports.ROOT_DIR, 'packages');
|
|
7
|
-
exports.DIST_DIR = 'compiled';
|
|
8
|
-
exports.DEFAULT_EXTERNALS = {
|
|
1
|
+
export const DIST_DIR = 'compiled';
|
|
2
|
+
export const DEFAULT_EXTERNALS = {
|
|
9
3
|
// ncc bundled wrong package.json, using external to avoid this problem
|
|
10
4
|
'./package.json': './package.json',
|
|
11
5
|
'../package.json': './package.json',
|
|
12
6
|
'../../package.json': './package.json',
|
|
13
7
|
};
|
|
8
|
+
export const cwd = process.cwd();
|
package/dist/helper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DependencyConfig, ParsedTask } from './types.js';
|
|
2
2
|
export declare function findDepPath(name: string): string;
|
|
3
3
|
export declare const resolveConfig: () => Promise<any>;
|
|
4
|
-
export declare function parseTasks(
|
|
4
|
+
export declare function parseTasks(dependencies: Array<string | DependencyConfig>): ParsedTask[];
|
|
5
5
|
export declare function pick<T, U extends keyof T>(obj: T, keys: ReadonlyArray<U>): Pick<T, U>;
|
|
6
6
|
export declare function replaceFileContent(filePath: string, replaceFn: (content: string) => string): void;
|
package/dist/helper.js
CHANGED
|
@@ -1,99 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.replaceFileContent = exports.pick = exports.parseTasks = exports.resolveConfig = exports.findDepPath = void 0;
|
|
30
|
-
const node_path_1 = require("node:path");
|
|
31
|
-
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
32
|
-
const constant_1 = require("./constant");
|
|
33
|
-
function findDepPath(name) {
|
|
34
|
-
let entry = (0, node_path_1.dirname)(require.resolve((0, node_path_1.join)(name)));
|
|
35
|
-
while (!(0, node_path_1.dirname)(entry).endsWith('node_modules')) {
|
|
36
|
-
entry = (0, node_path_1.dirname)(entry);
|
|
1
|
+
import { dirname, join } from 'node:path';
|
|
2
|
+
import fs from 'fs-extra';
|
|
3
|
+
import { cwd, DIST_DIR } from './constant.js';
|
|
4
|
+
import { createRequire } from 'node:module';
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
export function findDepPath(name) {
|
|
7
|
+
let entry = dirname(require.resolve(join(name), { paths: [cwd] }));
|
|
8
|
+
while (!dirname(entry).endsWith('node_modules')) {
|
|
9
|
+
entry = dirname(entry);
|
|
37
10
|
}
|
|
38
11
|
if (name.includes('/')) {
|
|
39
|
-
return
|
|
12
|
+
return join(dirname(entry), name);
|
|
40
13
|
}
|
|
41
14
|
return entry;
|
|
42
15
|
}
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const config = await Promise.resolve(`${configPath}`).then(s => __importStar(require(s)));
|
|
16
|
+
export const resolveConfig = async () => {
|
|
17
|
+
const configPath = join(cwd, 'prebundle.config.mjs');
|
|
18
|
+
const config = await import(configPath);
|
|
47
19
|
return config.default;
|
|
48
20
|
};
|
|
49
|
-
|
|
50
|
-
function parseTasks(tasks) {
|
|
21
|
+
export function parseTasks(dependencies) {
|
|
51
22
|
const result = [];
|
|
52
|
-
for (const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
afterBundle: dep.afterBundle,
|
|
86
|
-
beforeBundle: dep.beforeBundle,
|
|
87
|
-
packageJsonField: dep.packageJsonField ?? [],
|
|
88
|
-
...info,
|
|
89
|
-
});
|
|
90
|
-
}
|
|
23
|
+
for (const dep of dependencies) {
|
|
24
|
+
const depName = typeof dep === 'string' ? dep : dep.name;
|
|
25
|
+
const importPath = join(cwd, DIST_DIR, depName);
|
|
26
|
+
const distPath = join(cwd, DIST_DIR, depName);
|
|
27
|
+
const depPath = findDepPath(depName);
|
|
28
|
+
const depEntry = require.resolve(depName, { paths: [cwd] });
|
|
29
|
+
const info = {
|
|
30
|
+
depName,
|
|
31
|
+
depPath,
|
|
32
|
+
depEntry,
|
|
33
|
+
distPath,
|
|
34
|
+
importPath,
|
|
35
|
+
};
|
|
36
|
+
if (typeof dep === 'string') {
|
|
37
|
+
result.push({
|
|
38
|
+
minify: true,
|
|
39
|
+
externals: {},
|
|
40
|
+
emitFiles: [],
|
|
41
|
+
packageJsonField: [],
|
|
42
|
+
...info,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
result.push({
|
|
47
|
+
minify: dep.minify ?? true,
|
|
48
|
+
ignoreDts: dep.ignoreDts,
|
|
49
|
+
externals: dep.externals ?? {},
|
|
50
|
+
emitFiles: dep.emitFiles ?? [],
|
|
51
|
+
afterBundle: dep.afterBundle,
|
|
52
|
+
beforeBundle: dep.beforeBundle,
|
|
53
|
+
packageJsonField: dep.packageJsonField ?? [],
|
|
54
|
+
...info,
|
|
55
|
+
});
|
|
91
56
|
}
|
|
92
57
|
}
|
|
93
58
|
return result;
|
|
94
59
|
}
|
|
95
|
-
|
|
96
|
-
function pick(obj, keys) {
|
|
60
|
+
export function pick(obj, keys) {
|
|
97
61
|
return keys.reduce((ret, key) => {
|
|
98
62
|
if (obj[key] !== undefined) {
|
|
99
63
|
ret[key] = obj[key];
|
|
@@ -101,12 +65,10 @@ function pick(obj, keys) {
|
|
|
101
65
|
return ret;
|
|
102
66
|
}, {});
|
|
103
67
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
const content = fs_extra_1.default.readFileSync(filePath, 'utf-8');
|
|
68
|
+
export function replaceFileContent(filePath, replaceFn) {
|
|
69
|
+
const content = fs.readFileSync(filePath, 'utf-8');
|
|
107
70
|
const newContent = replaceFn(content);
|
|
108
71
|
if (newContent !== content) {
|
|
109
|
-
|
|
72
|
+
fs.writeFileSync(filePath, newContent);
|
|
110
73
|
}
|
|
111
74
|
}
|
|
112
|
-
exports.replaceFileContent = replaceFileContent;
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
async function run() {
|
|
7
|
-
const config = await (0, helper_1.resolveConfig)();
|
|
8
|
-
const parsedTasks = (0, helper_1.parseTasks)(config.tasks);
|
|
1
|
+
import { parseTasks, resolveConfig } from './helper.js';
|
|
2
|
+
import { prebundle } from './prebundle.js';
|
|
3
|
+
export async function run() {
|
|
4
|
+
const config = await resolveConfig();
|
|
5
|
+
const parsedTasks = parseTasks(config.dependencies);
|
|
9
6
|
for (const task of parsedTasks) {
|
|
10
|
-
await
|
|
7
|
+
await prebundle(task);
|
|
11
8
|
}
|
|
12
9
|
}
|
|
13
|
-
exports.run = run;
|
package/dist/prebundle.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ParsedTask } from './types';
|
|
1
|
+
import type { ParsedTask } from './types.js';
|
|
2
2
|
export declare function prebundle(task: ParsedTask): Promise<void>;
|
package/dist/prebundle.js
CHANGED
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const ncc_1 = __importDefault(require("@vercel/ncc"));
|
|
9
|
-
const dts_packer_1 = require("dts-packer");
|
|
10
|
-
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
11
|
-
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
12
|
-
const constant_1 = require("./constant");
|
|
13
|
-
const helper_1 = require("./helper");
|
|
1
|
+
import { join } from 'node:path';
|
|
2
|
+
import ncc from '@vercel/ncc';
|
|
3
|
+
import { Package as DtsPacker } from 'dts-packer';
|
|
4
|
+
import fastGlob from 'fast-glob';
|
|
5
|
+
import fs from 'fs-extra';
|
|
6
|
+
import { cwd, DEFAULT_EXTERNALS } from './constant.js';
|
|
7
|
+
import { pick, replaceFileContent } from './helper.js';
|
|
14
8
|
function emitAssets(assets, distPath) {
|
|
15
9
|
for (const key of Object.keys(assets)) {
|
|
16
10
|
const asset = assets[key];
|
|
17
|
-
|
|
11
|
+
fs.outputFileSync(join(distPath, key), asset.source);
|
|
18
12
|
}
|
|
19
13
|
}
|
|
20
14
|
function emitIndex(code, distPath) {
|
|
21
|
-
const distIndex =
|
|
22
|
-
|
|
15
|
+
const distIndex = join(distPath, 'index.js');
|
|
16
|
+
fs.outputFileSync(distIndex, code);
|
|
23
17
|
}
|
|
24
18
|
function fixTypeExternalPath(file, task, externals) {
|
|
25
|
-
const filepath =
|
|
26
|
-
|
|
19
|
+
const filepath = join(task.distPath, file);
|
|
20
|
+
replaceFileContent(filepath, (content) => {
|
|
27
21
|
let newContent = content;
|
|
28
22
|
for (const name of Object.keys(externals)) {
|
|
29
23
|
newContent = newContent.replace(new RegExp(`../../${name}`, 'g'), externals[name]);
|
|
@@ -33,16 +27,16 @@ function fixTypeExternalPath(file, task, externals) {
|
|
|
33
27
|
}
|
|
34
28
|
function emitDts(task) {
|
|
35
29
|
if (task.ignoreDts) {
|
|
36
|
-
|
|
30
|
+
fs.writeFileSync(join(task.distPath, 'index.d.ts'), 'export = any;\n');
|
|
37
31
|
return;
|
|
38
32
|
}
|
|
39
33
|
try {
|
|
40
34
|
const externals = {
|
|
41
|
-
...
|
|
35
|
+
...DEFAULT_EXTERNALS,
|
|
42
36
|
...task.externals,
|
|
43
37
|
};
|
|
44
|
-
const { files } = new
|
|
45
|
-
cwd
|
|
38
|
+
const { files } = new DtsPacker({
|
|
39
|
+
cwd,
|
|
46
40
|
name: task.depName,
|
|
47
41
|
typesRoot: task.distPath,
|
|
48
42
|
externals: Object.keys(externals),
|
|
@@ -57,10 +51,10 @@ function emitDts(task) {
|
|
|
57
51
|
}
|
|
58
52
|
}
|
|
59
53
|
function emitPackageJson(task) {
|
|
60
|
-
const packageJsonPath =
|
|
61
|
-
const packageJson =
|
|
62
|
-
const outputPath =
|
|
63
|
-
const pickedPackageJson =
|
|
54
|
+
const packageJsonPath = join(task.depPath, 'package.json');
|
|
55
|
+
const packageJson = fs.readJsonSync(packageJsonPath, 'utf-8');
|
|
56
|
+
const outputPath = join(task.distPath, 'package.json');
|
|
57
|
+
const pickedPackageJson = pick(packageJson, [
|
|
64
58
|
'name',
|
|
65
59
|
'author',
|
|
66
60
|
'version',
|
|
@@ -79,59 +73,59 @@ function emitPackageJson(task) {
|
|
|
79
73
|
delete pickedPackageJson.typings;
|
|
80
74
|
pickedPackageJson.types = 'index.d.ts';
|
|
81
75
|
}
|
|
82
|
-
|
|
76
|
+
fs.writeJSONSync(outputPath, pickedPackageJson);
|
|
83
77
|
}
|
|
84
78
|
function emitLicense(task) {
|
|
85
|
-
const licensePath =
|
|
86
|
-
if (
|
|
87
|
-
|
|
79
|
+
const licensePath = join(task.depPath, 'LICENSE');
|
|
80
|
+
if (fs.existsSync(licensePath)) {
|
|
81
|
+
fs.copySync(licensePath, join(task.distPath, 'license'));
|
|
88
82
|
}
|
|
89
83
|
}
|
|
90
84
|
function emitExtraFiles(task) {
|
|
91
85
|
const { emitFiles } = task;
|
|
92
86
|
for (const item of emitFiles) {
|
|
93
|
-
const path =
|
|
94
|
-
|
|
87
|
+
const path = join(task.distPath, item.path);
|
|
88
|
+
fs.outputFileSync(path, item.content);
|
|
95
89
|
}
|
|
96
90
|
}
|
|
97
91
|
function removeSourceMap(task) {
|
|
98
|
-
const maps =
|
|
92
|
+
const maps = fastGlob.sync(join(task.distPath, '**/*.map'));
|
|
99
93
|
for (const mapPath of maps) {
|
|
100
|
-
|
|
94
|
+
fs.removeSync(mapPath);
|
|
101
95
|
}
|
|
102
96
|
}
|
|
103
97
|
function renameDistFolder(task) {
|
|
104
|
-
const pkgPath =
|
|
105
|
-
const pkgJson =
|
|
98
|
+
const pkgPath = join(task.distPath, 'package.json');
|
|
99
|
+
const pkgJson = fs.readJsonSync(pkgPath, 'utf-8');
|
|
106
100
|
for (const key of ['types', 'typing', 'typings']) {
|
|
107
101
|
if (pkgJson[key]?.startsWith('dist/')) {
|
|
108
102
|
pkgJson[key] = pkgJson[key].replace('dist/', 'types/');
|
|
109
|
-
const distFolder =
|
|
110
|
-
const typesFolder =
|
|
111
|
-
if (
|
|
112
|
-
|
|
103
|
+
const distFolder = join(task.distPath, 'dist');
|
|
104
|
+
const typesFolder = join(task.distPath, 'types');
|
|
105
|
+
if (fs.existsSync(distFolder)) {
|
|
106
|
+
fs.renameSync(distFolder, typesFolder);
|
|
113
107
|
}
|
|
114
108
|
}
|
|
115
109
|
}
|
|
116
110
|
// compiled packages are always use commonjs
|
|
117
111
|
pkgJson.type = 'commonjs';
|
|
118
|
-
|
|
112
|
+
fs.writeJSONSync(pkgPath, pkgJson);
|
|
119
113
|
}
|
|
120
114
|
const pkgName = process.argv[2];
|
|
121
|
-
async function prebundle(task) {
|
|
115
|
+
export async function prebundle(task) {
|
|
122
116
|
if (pkgName && task.depName !== pkgName) {
|
|
123
117
|
return;
|
|
124
118
|
}
|
|
125
119
|
console.log(`==== Start prebundle "${task.depName}" ====`);
|
|
126
|
-
|
|
120
|
+
fs.removeSync(task.distPath);
|
|
127
121
|
if (task.beforeBundle) {
|
|
128
122
|
await task.beforeBundle(task);
|
|
129
123
|
}
|
|
130
|
-
const { code, assets } = await (
|
|
124
|
+
const { code, assets } = await ncc(task.depEntry, {
|
|
131
125
|
minify: task.minify,
|
|
132
126
|
target: 'es2019',
|
|
133
127
|
externals: {
|
|
134
|
-
...
|
|
128
|
+
...DEFAULT_EXTERNALS,
|
|
135
129
|
...task.externals,
|
|
136
130
|
},
|
|
137
131
|
assetBuilds: false,
|
|
@@ -149,4 +143,3 @@ async function prebundle(task) {
|
|
|
149
143
|
}
|
|
150
144
|
console.log(`==== Finish prebundle "${task.depName}" ====\n\n`);
|
|
151
145
|
}
|
|
152
|
-
exports.prebundle = prebundle;
|
package/dist/types.d.ts
CHANGED
|
@@ -18,9 +18,7 @@ export type DependencyConfig = {
|
|
|
18
18
|
beforeBundle?: (task: ParsedTask) => void | Promise<void>;
|
|
19
19
|
afterBundle?: (task: ParsedTask) => void | Promise<void>;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
22
|
-
packageDir: string;
|
|
23
|
-
packageName: string;
|
|
21
|
+
export type Config = {
|
|
24
22
|
dependencies: Array<string | DependencyConfig>;
|
|
25
23
|
};
|
|
26
24
|
export type ParsedTask = {
|
|
@@ -28,10 +26,7 @@ export type ParsedTask = {
|
|
|
28
26
|
depEntry: string;
|
|
29
27
|
distPath: string;
|
|
30
28
|
importPath: string;
|
|
31
|
-
packageDir: string;
|
|
32
29
|
ignoreDts?: boolean;
|
|
33
|
-
packagePath: string;
|
|
34
|
-
packageName: string;
|
|
35
30
|
minify: NonNullable<DependencyConfig['minify']>;
|
|
36
31
|
depName: NonNullable<DependencyConfig['name']>;
|
|
37
32
|
externals: NonNullable<DependencyConfig['externals']>;
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/package.json
CHANGED