@teambit/webpack 1.0.410 → 1.0.412
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.
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.webpack/webpack@1.0.
|
3
|
+
<testsuite name="teambit.webpack/webpack@1.0.412" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.webpack/webpack-preview"]=t():e["teambit.webpack/webpack-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.webpack/webpack-preview"]=t():e["teambit.webpack/webpack-preview"]=t()}(self,(()=>(()=>{"use strict";var e={96884:(e,t,o)=>{var r={id:"teambit.webpack/webpack@1.0.412",homepage:"https://bit.cloud/teambit/webpack/webpack",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-webpack.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>b});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(96884);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var p=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},s.apply(null,arguments)}var u={},l="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,a.mdx)(l,s({},u,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],b=[n],m={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
"line": 2,
|
21
21
|
"character": 3
|
22
22
|
},
|
23
|
+
"signature": "class WebpackMain",
|
23
24
|
"name": "WebpackMain",
|
24
25
|
"exportNode": {
|
25
26
|
"__schema": "ClassSchema",
|
@@ -616,6 +617,7 @@
|
|
616
617
|
"line": 3,
|
617
618
|
"character": 3
|
618
619
|
},
|
620
|
+
"signature": "type WebpackConfigTransformer = (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
619
621
|
"name": "WebpackConfigTransformer",
|
620
622
|
"exportNode": {
|
621
623
|
"__schema": "TypeSchema",
|
@@ -697,6 +699,7 @@
|
|
697
699
|
"line": 4,
|
698
700
|
"character": 3
|
699
701
|
},
|
702
|
+
"signature": "type WebpackConfigTransformContext = GlobalWebpackConfigTransformContext & {\n target: Target;\n}",
|
700
703
|
"name": "WebpackConfigTransformContext",
|
701
704
|
"exportNode": {
|
702
705
|
"__schema": "TypeSchema",
|
@@ -769,6 +772,7 @@
|
|
769
772
|
"line": 5,
|
770
773
|
"character": 3
|
771
774
|
},
|
775
|
+
"signature": "type WebpackConfigDevServerTransformContext = GlobalWebpackConfigTransformContext & DevServerContext",
|
772
776
|
"name": "WebpackConfigDevServerTransformContext",
|
773
777
|
"exportNode": {
|
774
778
|
"__schema": "TypeSchema",
|
@@ -816,6 +820,7 @@
|
|
816
820
|
"line": 6,
|
817
821
|
"character": 3
|
818
822
|
},
|
823
|
+
"signature": "type GlobalWebpackConfigTransformContext = {\n mode: BundlerMode;\n isEnvTemplate?: boolean | undefined;\n hostRootDir?: string | undefined;\n}",
|
819
824
|
"name": "GlobalWebpackConfigTransformContext",
|
820
825
|
"exportNode": {
|
821
826
|
"__schema": "TypeSchema",
|
@@ -931,6 +936,7 @@
|
|
931
936
|
"line": 7,
|
932
937
|
"character": 3
|
933
938
|
},
|
939
|
+
"signature": "type WebpackConfigDevServerTransformer = (config: WebpackConfigMutator, context: WebpackConfigDevServerTransformContext) => WebpackConfigMutator",
|
934
940
|
"name": "WebpackConfigDevServerTransformer",
|
935
941
|
"exportNode": {
|
936
942
|
"__schema": "TypeSchema",
|
@@ -1012,6 +1018,7 @@
|
|
1012
1018
|
"line": 9,
|
1013
1019
|
"character": 10
|
1014
1020
|
},
|
1021
|
+
"signature": "function runTransformersWithContext(config: WebpackConfigMutator, transformers: (WebpackConfigTransformer | WebpackConfigDevServerTransformer)[] | undefined, context: any): WebpackConfigMutator",
|
1015
1022
|
"name": "runTransformersWithContext",
|
1016
1023
|
"exportNode": {
|
1017
1024
|
"__schema": "FunctionLikeSchema",
|
@@ -1141,6 +1148,7 @@
|
|
1141
1148
|
"line": 10,
|
1142
1149
|
"character": 10
|
1143
1150
|
},
|
1151
|
+
"signature": "const WebpackAspect: Aspect",
|
1144
1152
|
"name": "WebpackAspect",
|
1145
1153
|
"exportNode": {
|
1146
1154
|
"__schema": "VariableLikeSchema",
|
@@ -1176,6 +1184,7 @@
|
|
1176
1184
|
"line": 11,
|
1177
1185
|
"character": 10
|
1178
1186
|
},
|
1187
|
+
"signature": "class WebpackDevServer",
|
1179
1188
|
"name": "WebpackDevServer",
|
1180
1189
|
"exportNode": {
|
1181
1190
|
"__schema": "ClassSchema",
|
@@ -1471,7 +1480,7 @@
|
|
1471
1480
|
"_legacy": {
|
1472
1481
|
"scope": "teambit.webpack",
|
1473
1482
|
"name": "webpack",
|
1474
|
-
"version": "1.0.
|
1483
|
+
"version": "1.0.412"
|
1475
1484
|
},
|
1476
1485
|
"_scope": "teambit.webpack"
|
1477
1486
|
}
|
@@ -1487,6 +1496,7 @@
|
|
1487
1496
|
"line": 12,
|
1488
1497
|
"character": 10
|
1489
1498
|
},
|
1499
|
+
"signature": "class WebpackBundler",
|
1490
1500
|
"name": "WebpackBundler",
|
1491
1501
|
"exportNode": {
|
1492
1502
|
"__schema": "ClassSchema",
|
@@ -1721,7 +1731,7 @@
|
|
1721
1731
|
"_legacy": {
|
1722
1732
|
"scope": "teambit.webpack",
|
1723
1733
|
"name": "webpack",
|
1724
|
-
"version": "1.0.
|
1734
|
+
"version": "1.0.412"
|
1725
1735
|
},
|
1726
1736
|
"_scope": "teambit.webpack"
|
1727
1737
|
}
|
@@ -1737,6 +1747,7 @@
|
|
1737
1747
|
"line": 13,
|
1738
1748
|
"character": 15
|
1739
1749
|
},
|
1750
|
+
"signature": "interface WebpackConfigWithDevServer",
|
1740
1751
|
"name": "WebpackConfigWithDevServer",
|
1741
1752
|
"exportNode": {
|
1742
1753
|
"__schema": "InterfaceSchema",
|
@@ -1811,7 +1822,7 @@
|
|
1811
1822
|
"_legacy": {
|
1812
1823
|
"scope": "teambit.webpack",
|
1813
1824
|
"name": "webpack",
|
1814
|
-
"version": "1.0.
|
1825
|
+
"version": "1.0.412"
|
1815
1826
|
},
|
1816
1827
|
"_scope": "teambit.webpack"
|
1817
1828
|
}
|
@@ -1966,7 +1977,7 @@
|
|
1966
1977
|
"_legacy": {
|
1967
1978
|
"scope": "teambit.webpack",
|
1968
1979
|
"name": "webpack",
|
1969
|
-
"version": "1.0.
|
1980
|
+
"version": "1.0.412"
|
1970
1981
|
},
|
1971
1982
|
"_scope": "teambit.webpack"
|
1972
1983
|
}
|
@@ -2101,7 +2112,7 @@
|
|
2101
2112
|
"_legacy": {
|
2102
2113
|
"scope": "teambit.webpack",
|
2103
2114
|
"name": "webpack",
|
2104
|
-
"version": "1.0.
|
2115
|
+
"version": "1.0.412"
|
2105
2116
|
},
|
2106
2117
|
"_scope": "teambit.webpack"
|
2107
2118
|
}
|
@@ -2117,6 +2128,7 @@
|
|
2117
2128
|
"line": 15,
|
2118
2129
|
"character": 15
|
2119
2130
|
},
|
2131
|
+
"signature": "export { Configuration };\n\nConfiguration",
|
2120
2132
|
"name": "Configuration",
|
2121
2133
|
"exportNode": {
|
2122
2134
|
"__schema": "TypeRefSchema",
|
@@ -2136,6 +2148,7 @@
|
|
2136
2148
|
"line": 16,
|
2137
2149
|
"character": 10
|
2138
2150
|
},
|
2151
|
+
"signature": "export { WebpackConfigMutator };\n\nWebpackConfigMutator",
|
2139
2152
|
"name": "WebpackConfigMutator",
|
2140
2153
|
"exportNode": {
|
2141
2154
|
"__schema": "TypeRefSchema",
|
@@ -2159,6 +2172,7 @@
|
|
2159
2172
|
"line": 17,
|
2160
2173
|
"character": 10
|
2161
2174
|
},
|
2175
|
+
"signature": "class WebpackBitReporterPlugin",
|
2162
2176
|
"name": "WebpackBitReporterPlugin",
|
2163
2177
|
"exportNode": {
|
2164
2178
|
"__schema": "ClassSchema",
|
@@ -2360,6 +2374,7 @@
|
|
2360
2374
|
"line": 18,
|
2361
2375
|
"character": 10
|
2362
2376
|
},
|
2377
|
+
"signature": "const fallbacks: {\n readonly assert: string;\n readonly events: string;\n readonly buffer: string;\n readonly constants: string;\n readonly crypto: string;\n readonly domain: string;\n readonly http: string;\n readonly https: string;\n ... 17 more ...;\n readonly child_process: false;\n}",
|
2363
2378
|
"name": "fallbacks",
|
2364
2379
|
"exportNode": {
|
2365
2380
|
"__schema": "VariableLikeSchema",
|
@@ -2390,6 +2405,7 @@
|
|
2390
2405
|
"line": 19,
|
2391
2406
|
"character": 10
|
2392
2407
|
},
|
2408
|
+
"signature": "const fallbacksAliases: {\n process: string;\n buffer: string;\n}",
|
2393
2409
|
"name": "fallbacksAliases",
|
2394
2410
|
"exportNode": {
|
2395
2411
|
"__schema": "VariableLikeSchema",
|
@@ -2420,6 +2436,7 @@
|
|
2420
2436
|
"line": 20,
|
2421
2437
|
"character": 10
|
2422
2438
|
},
|
2439
|
+
"signature": "const fallbacksProvidePluginConfig: {\n process: string;\n Buffer: string[];\n}",
|
2423
2440
|
"name": "fallbacksProvidePluginConfig",
|
2424
2441
|
"exportNode": {
|
2425
2442
|
"__schema": "VariableLikeSchema",
|
@@ -2450,6 +2467,7 @@
|
|
2450
2467
|
"line": 22,
|
2451
2468
|
"character": 3
|
2452
2469
|
},
|
2470
|
+
"signature": "function GenerateBodyInjectionTransformer(options: BodyInjectionOptions): WebpackConfigTransformer",
|
2453
2471
|
"name": "GenerateBodyInjectionTransformer",
|
2454
2472
|
"exportNode": {
|
2455
2473
|
"__schema": "FunctionLikeSchema",
|
@@ -2534,6 +2552,7 @@
|
|
2534
2552
|
"line": 23,
|
2535
2553
|
"character": 3
|
2536
2554
|
},
|
2555
|
+
"signature": "type BodyInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
2537
2556
|
"name": "BodyInjectionOptions",
|
2538
2557
|
"exportNode": {
|
2539
2558
|
"__schema": "TypeSchema",
|
@@ -2622,6 +2641,7 @@
|
|
2622
2641
|
"line": 24,
|
2623
2642
|
"character": 3
|
2624
2643
|
},
|
2644
|
+
"signature": "function generateAddAliasesFromPeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2625
2645
|
"name": "generateAddAliasesFromPeersTransformer",
|
2626
2646
|
"exportNode": {
|
2627
2647
|
"__schema": "FunctionLikeSchema",
|
@@ -2703,6 +2723,7 @@
|
|
2703
2723
|
"line": 25,
|
2704
2724
|
"character": 3
|
2705
2725
|
},
|
2726
|
+
"signature": "function generateExposePeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2706
2727
|
"name": "generateExposePeersTransformer",
|
2707
2728
|
"exportNode": {
|
2708
2729
|
"__schema": "FunctionLikeSchema",
|
@@ -2815,6 +2836,7 @@
|
|
2815
2836
|
"line": 26,
|
2816
2837
|
"character": 3
|
2817
2838
|
},
|
2839
|
+
"signature": "function generateExternalsTransformer(depes: string[]): (config: WebpackConfigMutator) => WebpackConfigMutator",
|
2818
2840
|
"name": "generateExternalsTransformer",
|
2819
2841
|
"exportNode": {
|
2820
2842
|
"__schema": "FunctionLikeSchema",
|
@@ -2907,6 +2929,7 @@
|
|
2907
2929
|
"line": 27,
|
2908
2930
|
"character": 3
|
2909
2931
|
},
|
2932
|
+
"signature": "function GenerateHeadInjectionTransformer(options: HeadInjectionOptions): WebpackConfigTransformer",
|
2910
2933
|
"name": "GenerateHeadInjectionTransformer",
|
2911
2934
|
"exportNode": {
|
2912
2935
|
"__schema": "FunctionLikeSchema",
|
@@ -2991,6 +3014,7 @@
|
|
2991
3014
|
"line": 28,
|
2992
3015
|
"character": 3
|
2993
3016
|
},
|
3017
|
+
"signature": "type HeadInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
2994
3018
|
"name": "HeadInjectionOptions",
|
2995
3019
|
"exportNode": {
|
2996
3020
|
"__schema": "TypeSchema",
|
@@ -4154,7 +4178,7 @@
|
|
4154
4178
|
"_legacy": {
|
4155
4179
|
"scope": "teambit.webpack",
|
4156
4180
|
"name": "webpack",
|
4157
|
-
"version": "1.0.
|
4181
|
+
"version": "1.0.412"
|
4158
4182
|
},
|
4159
4183
|
"_scope": "teambit.webpack"
|
4160
4184
|
}
|
@@ -4456,7 +4480,7 @@
|
|
4456
4480
|
"_legacy": {
|
4457
4481
|
"scope": "teambit.webpack",
|
4458
4482
|
"name": "webpack",
|
4459
|
-
"version": "1.0.
|
4483
|
+
"version": "1.0.412"
|
4460
4484
|
},
|
4461
4485
|
"_scope": "teambit.webpack"
|
4462
4486
|
}
|
@@ -4708,7 +4732,7 @@
|
|
4708
4732
|
"_legacy": {
|
4709
4733
|
"scope": "teambit.webpack",
|
4710
4734
|
"name": "webpack",
|
4711
|
-
"version": "1.0.
|
4735
|
+
"version": "1.0.412"
|
4712
4736
|
},
|
4713
4737
|
"_scope": "teambit.webpack"
|
4714
4738
|
}
|
@@ -4931,7 +4955,7 @@
|
|
4931
4955
|
"_legacy": {
|
4932
4956
|
"scope": "teambit.webpack",
|
4933
4957
|
"name": "webpack",
|
4934
|
-
"version": "1.0.
|
4958
|
+
"version": "1.0.412"
|
4935
4959
|
},
|
4936
4960
|
"_scope": "teambit.webpack"
|
4937
4961
|
}
|
@@ -5154,7 +5178,7 @@
|
|
5154
5178
|
"_legacy": {
|
5155
5179
|
"scope": "teambit.webpack",
|
5156
5180
|
"name": "webpack",
|
5157
|
-
"version": "1.0.
|
5181
|
+
"version": "1.0.412"
|
5158
5182
|
},
|
5159
5183
|
"_scope": "teambit.webpack"
|
5160
5184
|
}
|
@@ -5716,7 +5740,7 @@
|
|
5716
5740
|
"componentId": {
|
5717
5741
|
"scope": "teambit.webpack",
|
5718
5742
|
"name": "webpack",
|
5719
|
-
"version": "1.0.
|
5743
|
+
"version": "1.0.412"
|
5720
5744
|
},
|
5721
5745
|
"taggedModuleExports": []
|
5722
5746
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.webpack_webpack@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.webpack_webpack@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.webpack_webpack@1.0.412/dist/webpack.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.webpack_webpack@1.0.412/dist/webpack.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/webpack",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.412",
|
4
4
|
"homepage": "https://bit.cloud/teambit/webpack/webpack",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.webpack",
|
8
8
|
"name": "webpack",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.412"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"webpack": "5.84.1",
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"@teambit/harmony": "0.4.6",
|
48
48
|
"@teambit/bit-error": "0.0.404",
|
49
49
|
"@teambit/webpack.modules.config-mutator": "0.0.169",
|
50
|
-
"@teambit/bundler": "1.0.
|
51
|
-
"@teambit/logger": "0.0.
|
52
|
-
"@teambit/cli": "0.0.
|
53
|
-
"@teambit/pubsub": "1.0.
|
54
|
-
"@teambit/workspace": "1.0.
|
50
|
+
"@teambit/bundler": "1.0.412",
|
51
|
+
"@teambit/logger": "0.0.1082",
|
52
|
+
"@teambit/cli": "0.0.989",
|
53
|
+
"@teambit/pubsub": "1.0.412",
|
54
|
+
"@teambit/workspace": "1.0.412",
|
55
55
|
"@teambit/toolbox.path.path": "0.0.4",
|
56
56
|
"@teambit/webpack.modules.generate-expose-loaders": "0.0.16",
|
57
57
|
"@teambit/webpack.modules.generate-externals": "0.0.17",
|
@@ -62,9 +62,7 @@
|
|
62
62
|
"@types/lodash": "4.14.165",
|
63
63
|
"@types/find-root": "1.1.2",
|
64
64
|
"@types/react-dev-utils": "9.0.10",
|
65
|
-
"@
|
66
|
-
"chai": "4.3.0",
|
67
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.47"
|
65
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.59"
|
68
66
|
},
|
69
67
|
"peerDependencies": {
|
70
68
|
"react": "^17.0.0 || ^18.0.0",
|