@teambit/bundler 0.0.1050 → 0.0.1052
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.d.ts +2 -1
- package/dist/index.js +23 -17
- package/dist/index.js.map +1 -1
- package/dist/{preview-1683532125666.js → preview-1683689530779.js} +2 -2
- package/package-tar/teambit-bundler-0.0.1052.tgz +0 -0
- package/package.json +10 -10
- package/package-tar/teambit-bundler-0.0.1050.tgz +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { BundlerAspect } from './bundler.aspect';
|
|
1
2
|
export { DevServer } from './dev-server';
|
|
2
3
|
export { DevServerContext } from './dev-server-context';
|
|
3
4
|
export { BundlerContext, Target, ModuleTarget, HtmlConfig as BundlerHtmlConfig, EntryMap as BundlerEntryMap, Entry as BundlerEntry, MetaData as BundlerContextMetaData, } from './bundler-context';
|
|
4
5
|
export { Bundler, BundlerResult, BundlerMode, Asset, ChunksAssetsMap, EntriesAssetsMap, EntryAssets } from './bundler';
|
|
5
6
|
export type { BundlerMain } from './bundler.main.runtime';
|
|
6
|
-
export { BundlerAspect } from './bundler.aspect';
|
|
7
7
|
export { ComponentDir } from './get-entry';
|
|
8
8
|
export { ComponentServer } from './component-server';
|
|
9
9
|
export * from './events';
|
|
10
|
+
export { BundlerAspect, BundlerAspect as default };
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
+
BundlerAspect: true,
|
|
7
8
|
DevServer: true,
|
|
8
9
|
DevServerContext: true,
|
|
9
10
|
BundlerContext: true,
|
|
@@ -20,26 +21,25 @@ var _exportNames = {
|
|
|
20
21
|
ChunksAssetsMap: true,
|
|
21
22
|
EntriesAssetsMap: true,
|
|
22
23
|
EntryAssets: true,
|
|
23
|
-
BundlerAspect: true,
|
|
24
24
|
ComponentDir: true,
|
|
25
25
|
ComponentServer: true
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "Asset", {
|
|
28
28
|
enumerable: true,
|
|
29
29
|
get: function () {
|
|
30
|
-
return
|
|
30
|
+
return _bundler2().Asset;
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "Bundler", {
|
|
34
34
|
enumerable: true,
|
|
35
35
|
get: function () {
|
|
36
|
-
return
|
|
36
|
+
return _bundler2().Bundler;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "BundlerAspect", {
|
|
40
40
|
enumerable: true,
|
|
41
41
|
get: function () {
|
|
42
|
-
return
|
|
42
|
+
return _bundler().BundlerAspect;
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "BundlerContext", {
|
|
@@ -75,19 +75,19 @@ Object.defineProperty(exports, "BundlerHtmlConfig", {
|
|
|
75
75
|
Object.defineProperty(exports, "BundlerMode", {
|
|
76
76
|
enumerable: true,
|
|
77
77
|
get: function () {
|
|
78
|
-
return
|
|
78
|
+
return _bundler2().BundlerMode;
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "BundlerResult", {
|
|
82
82
|
enumerable: true,
|
|
83
83
|
get: function () {
|
|
84
|
-
return
|
|
84
|
+
return _bundler2().BundlerResult;
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ChunksAssetsMap", {
|
|
88
88
|
enumerable: true,
|
|
89
89
|
get: function () {
|
|
90
|
-
return
|
|
90
|
+
return _bundler2().ChunksAssetsMap;
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "ComponentDir", {
|
|
@@ -117,13 +117,13 @@ Object.defineProperty(exports, "DevServerContext", {
|
|
|
117
117
|
Object.defineProperty(exports, "EntriesAssetsMap", {
|
|
118
118
|
enumerable: true,
|
|
119
119
|
get: function () {
|
|
120
|
-
return
|
|
120
|
+
return _bundler2().EntriesAssetsMap;
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "EntryAssets", {
|
|
124
124
|
enumerable: true,
|
|
125
125
|
get: function () {
|
|
126
|
-
return
|
|
126
|
+
return _bundler2().EntryAssets;
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "ModuleTarget", {
|
|
@@ -138,6 +138,19 @@ Object.defineProperty(exports, "Target", {
|
|
|
138
138
|
return _bundlerContext().Target;
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
+
Object.defineProperty(exports, "default", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () {
|
|
144
|
+
return _bundler().BundlerAspect;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
function _bundler() {
|
|
148
|
+
const data = require("./bundler.aspect");
|
|
149
|
+
_bundler = function () {
|
|
150
|
+
return data;
|
|
151
|
+
};
|
|
152
|
+
return data;
|
|
153
|
+
}
|
|
141
154
|
function _devServer() {
|
|
142
155
|
const data = require("./dev-server");
|
|
143
156
|
_devServer = function () {
|
|
@@ -159,15 +172,8 @@ function _bundlerContext() {
|
|
|
159
172
|
};
|
|
160
173
|
return data;
|
|
161
174
|
}
|
|
162
|
-
function _bundler() {
|
|
163
|
-
const data = require("./bundler");
|
|
164
|
-
_bundler = function () {
|
|
165
|
-
return data;
|
|
166
|
-
};
|
|
167
|
-
return data;
|
|
168
|
-
}
|
|
169
175
|
function _bundler2() {
|
|
170
|
-
const data = require("./bundler
|
|
176
|
+
const data = require("./bundler");
|
|
171
177
|
_bundler2 = function () {
|
|
172
178
|
return data;
|
|
173
179
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["import { BundlerAspect } from './bundler.aspect';\n\nexport { DevServer } from './dev-server';\nexport { DevServerContext } from './dev-server-context';\nexport {\n BundlerContext,\n Target,\n ModuleTarget,\n HtmlConfig as BundlerHtmlConfig,\n EntryMap as BundlerEntryMap,\n Entry as BundlerEntry,\n MetaData as BundlerContextMetaData,\n} from './bundler-context';\nexport { Bundler, BundlerResult, BundlerMode, Asset, ChunksAssetsMap, EntriesAssetsMap, EntryAssets } from './bundler';\nexport type { BundlerMain } from './bundler.main.runtime';\nexport { ComponentDir } from './get-entry';\nexport { ComponentServer } from './component-server';\nexport * from './events';\nexport { BundlerAspect, BundlerAspect as default };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AASA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@0.0.1052/dist/bundler.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_bundler@0.0.1052/dist/bundler.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/bundler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1052",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/bundler",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compilation",
|
|
8
8
|
"name": "bundler",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1052"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"cli-highlight": "2.1.9",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"core-js": "^3.0.0",
|
|
16
16
|
"@babel/runtime": "7.20.0",
|
|
17
17
|
"@teambit/harmony": "0.4.6",
|
|
18
|
-
"@teambit/envs": "0.0.
|
|
19
|
-
"@teambit/builder": "0.0.
|
|
20
|
-
"@teambit/component": "0.0.
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
22
|
-
"@teambit/dependency-resolver": "0.0.
|
|
23
|
-
"@teambit/graphql": "0.0.
|
|
24
|
-
"@teambit/pubsub": "0.0.
|
|
18
|
+
"@teambit/envs": "0.0.1052",
|
|
19
|
+
"@teambit/builder": "0.0.1052",
|
|
20
|
+
"@teambit/component": "0.0.1052",
|
|
21
|
+
"@teambit/cli": "0.0.708",
|
|
22
|
+
"@teambit/dependency-resolver": "0.0.1052",
|
|
23
|
+
"@teambit/graphql": "0.0.1052",
|
|
24
|
+
"@teambit/pubsub": "0.0.1052",
|
|
25
25
|
"@teambit/toolbox.network.get-port": "0.0.121"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@apollo/client": "^3.6.0",
|
|
38
|
-
"@teambit/legacy": "1.0.
|
|
38
|
+
"@teambit/legacy": "1.0.488",
|
|
39
39
|
"react": "^16.8.0 || ^17.0.0",
|
|
40
40
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
41
41
|
},
|
|
Binary file
|