@teambit/compilation.aspect-docs.multi-compiler 0.0.164 → 0.0.165
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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_excluded","obj","__esModule","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","layoutProps","MDXLayout","MDXContent","_ref","components","props","mdx","mdxType","parentName","isMDXComponent"],"sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_excluded","obj","__esModule","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","layoutProps","MDXLayout","MDXContent","_ref","components","props","mdx","mdxType","parentName","isMDXComponent"],"sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.165","sources":["multi-compiler.mdx.js"],"sourcesContent":["\n// @ts-nocheck\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\n\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n <p>{`The multi-compiler aspect allows the configuration of multiple compilers on a component. This determines which compiler to apply on a component file using the `}<inlineCode parentName=\"p\">{`isFileSupported()`}</inlineCode>{` compiler API.`}</p>\n <ul>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`createCompiler(compilers: Compiler[], options: CompilerOptions)`}</inlineCode>{` API to support the creation a Multi-compiler instance which can be used in the Env API (the `}<inlineCode parentName=\"li\">{`overrideCompiler`}</inlineCode>{` and `}<inlineCode parentName=\"li\">{`getCompiler`}</inlineCode>{` APIs).`}</li>\n <li parentName=\"ul\">{`Supports the creation of a multi-compiler build tasks.`}</li>\n </ul>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-ts\"\n }}>{`// create a multi compiler instance.\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\n\n// create a multi-compiler build task.\ncompiler.createTask('MultiCompiler', compiler);\n`}</code></pre>\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAAmC,IAAAE,SAAA,mBAFnC;AAAA,SAAAH,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAAA,SAAAQ,yBAAAN,MAAA,EAAAO,QAAA,QAAAP,MAAA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AA,gLAAsK,IAAAjC,OAAA,CAAAiC,GAAA;IAAYE,UAAU,EAAC;EAAG,sBAAkC,CAAC,kBAAqB,CAAC,EACzP,IAAAnC,OAAA,CAAAiC,GAAA,cACE,IAAAjC,OAAA,CAAAiC,GAAA;IAAIE,UAAU,EAAC;EAAI,GAAC,IAAAnC,OAAA,CAAAiC,GAAA;IAAYE,UAAU,EAAC;EAAI,oEAAgF,CAAC,mGAAiG,IAAAnC,OAAA,CAAAiC,GAAA;IAAYE,UAAU,EAAC;EAAI,qBAAiC,CAAC,WAAS,IAAAnC,OAAA,CAAAiC,GAAA;IAAYE,UAAU,EAAC;EAAI,gBAA4B,CAAC,WAAe,CAAC,EAC/W,IAAAnC,OAAA,CAAAiC,GAAA;IAAIE,UAAU,EAAC;EAAI,2DAA+D,CAChF,CAAC,EACL,IAAAnC,OAAA,CAAAiC,GAAA,eAAK,IAAAjC,OAAA,CAAAiC,GAAA;IAAME,UAAU,EAAC,KAAK;IACvB,WAAW,EAAE;EAAa,mOAM1B,CAAM,CACC,CAAC;AAChB;AACA;AACAN,UAAU,CAACO,cAAc,GAAG,IAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.165/dist/multi-compiler.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.165/dist/multi-compiler.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/compilation.aspect-docs.multi-compiler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.165",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/aspect-docs/multi-compiler",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compilation",
|
|
8
8
|
"name": "aspect-docs/multi-compiler",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.165"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@mdx-js/react": "1.6.22",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/node": "12.20.4",
|
|
20
20
|
"@types/react-dom": "^17.0.5",
|
|
21
21
|
"@types/jest": "^26.0.0",
|
|
22
|
-
"@babel/runtime": "7.
|
|
22
|
+
"@babel/runtime": "7.20.0",
|
|
23
23
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
24
24
|
"@teambit/documenter.theme.theme-compositions": "4.1.1",
|
|
25
25
|
"@teambit/mdx.ui.mdx-layout": "1.0.6"
|