@teambit/webpack 0.0.837 → 0.0.845

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/config/html.ts CHANGED
@@ -11,8 +11,7 @@ export function html(title: string) {
11
11
  // Allow to use react dev-tools inside the examples
12
12
  try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}
13
13
  </script>
14
- <!-- minimal css resets -->
15
- <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>
14
+ <style> body { margin: 0; } </style>
16
15
  </head>
17
16
  <body>
18
17
  <div id="root"></div>
@@ -20,3 +19,5 @@ export function html(title: string) {
20
19
  </html>
21
20
  `;
22
21
  }
22
+ // <!-- minimal css resets -->
23
+ // <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>
@@ -18,14 +18,14 @@ function html(title) {
18
18
  // Allow to use react dev-tools inside the examples
19
19
  try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}
20
20
  </script>
21
- <!-- minimal css resets -->
22
- <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>
21
+ <style> body { margin: 0; } </style>
23
22
  </head>
24
23
  <body>
25
24
  <div id="root"></div>
26
25
  </body>
27
26
  </html>
28
27
  `;
29
- }
28
+ } // <!-- minimal css resets -->
29
+ // <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>
30
30
 
31
31
  //# sourceMappingURL=html.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["html","title"],"sources":["html.ts"],"sourcesContent":["/** html template for Previews (docs, compositions, etc) */\nexport function html(title: string) {\n return () => `\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <script>\n // Allow to use react dev-tools inside the examples\n try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}\n </script>\n <!-- minimal css resets -->\n <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n </html>\n `;\n}\n"],"mappings":";;;;;;;AAAA;AACO,SAASA,IAAT,CAAcC,KAAd,EAA6B;EAClC,OAAO,MAAO;AAChB;AACA;AACA;AACA;AACA;AACA,eAAeA,KAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAlBE;AAmBD"}
1
+ {"version":3,"names":["html","title"],"sources":["html.ts"],"sourcesContent":["/** html template for Previews (docs, compositions, etc) */\nexport function html(title: string) {\n return () => `\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <script>\n // Allow to use react dev-tools inside the examples\n try { window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; } catch {}\n </script>\n <style> body { margin: 0; } </style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n </html>\n `;\n}\n// <!-- minimal css resets -->\n// <style> html { height: 100%; } body { margin: 0; height: 100%; } #root { height: 100%; } </style>"],"mappings":";;;;;;;AAAA;AACO,SAASA,IAAT,CAAcC,KAAd,EAA6B;EAClC,OAAO,MAAO;AAChB;AACA;AACA;AACA;AACA;AACA,eAAeA,KAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAjBE;AAkBD,C,CACD;AACA"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/webpack",
3
- "version": "0.0.837",
3
+ "version": "0.0.845",
4
4
  "homepage": "https://bit.dev/teambit/webpack/webpack",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.webpack",
8
8
  "name": "webpack",
9
- "version": "0.0.837"
9
+ "version": "0.0.845"
10
10
  },
11
11
  "dependencies": {
12
12
  "webpack": "5.51.1",
@@ -45,14 +45,14 @@
45
45
  "assert": "2.0.0",
46
46
  "@babel/runtime": "7.12.18",
47
47
  "core-js": "^3.0.0",
48
- "@teambit/harmony": "0.3.3",
49
48
  "@teambit/webpack.modules.config-mutator": "0.0.147",
49
+ "@teambit/harmony": "0.3.3",
50
50
  "@teambit/bit-error": "0.0.400",
51
- "@teambit/bundler": "0.0.837",
52
- "@teambit/logger": "0.0.655",
53
- "@teambit/cli": "0.0.562",
54
- "@teambit/pubsub": "0.0.837",
55
- "@teambit/workspace": "0.0.837",
51
+ "@teambit/bundler": "0.0.845",
52
+ "@teambit/logger": "0.0.657",
53
+ "@teambit/cli": "0.0.564",
54
+ "@teambit/pubsub": "0.0.845",
55
+ "@teambit/workspace": "0.0.845",
56
56
  "@teambit/webpack.modules.generate-expose-loaders": "0.0.9",
57
57
  "@teambit/webpack.modules.generate-externals": "0.0.10"
58
58
  },
@@ -69,7 +69,7 @@
69
69
  "@types/node": "12.20.4"
70
70
  },
71
71
  "peerDependencies": {
72
- "@teambit/legacy": "1.0.343",
72
+ "@teambit/legacy": "1.0.345",
73
73
  "react-dom": "^16.8.0 || ^17.0.0",
74
74
  "react": "^16.8.0 || ^17.0.0"
75
75
  },
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@0.0.837/dist/webpack.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@0.0.837/dist/webpack.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@0.0.845/dist/webpack.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@0.0.845/dist/webpack.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];