@teambit/compilation.aspect-docs.multi-compiler 0.0.175 → 0.0.177
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.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/multi-compiler.composition.js +5 -14
- package/dist/multi-compiler.composition.js.map +1 -1
- package/dist/multi-compiler.mdx.js +49 -42
- package/dist/multi-compiler.mdx.js.map +1 -1
- package/dist/{preview-1763418691517.js → preview-1781124335027.js} +2 -2
- package/package.json +7 -7
- package/types/asset.d.ts +15 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MultiCompiler = void 0;
|
|
7
|
-
var multi_compiler_mdx_1 = require("./multi-compiler.mdx");
|
|
8
|
-
Object.defineProperty(exports, "MultiCompiler", { enumerable: true, get: function () { return __importDefault(multi_compiler_mdx_1).default; } });
|
|
1
|
+
export { default as MultiCompiler } from './multi-compiler.mdx';
|
|
9
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
exports.MultiCompilerDocs = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const documenter_theme_theme_compositions_1 = require("@teambit/documenter.theme.theme-compositions");
|
|
9
|
-
const mdx_ui_mdx_layout_1 = require("@teambit/mdx.ui.mdx-layout");
|
|
10
|
-
const index_1 = require("./index");
|
|
11
|
-
const MultiCompilerDocs = () => (react_1.default.createElement(documenter_theme_theme_compositions_1.ThemeCompositions, null,
|
|
12
|
-
react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout, null,
|
|
13
|
-
react_1.default.createElement(index_1.MultiCompiler, null))));
|
|
14
|
-
exports.MultiCompilerDocs = MultiCompilerDocs;
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';
|
|
3
|
+
import { MDXLayout } from '@teambit/mdx.ui.mdx-layout';
|
|
4
|
+
import { MultiCompiler } from './index';
|
|
5
|
+
export const MultiCompilerDocs = () => (_jsx(ThemeCompositions, { children: _jsx(MDXLayout, { children: _jsx(MultiCompiler, {}) }) }));
|
|
15
6
|
//# sourceMappingURL=multi-compiler.composition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-compiler.composition.js","sourceRoot":"","sources":["../multi-compiler.composition.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multi-compiler.composition.js","sourceRoot":"","sources":["../multi-compiler.composition.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,CACrC,KAAC,iBAAiB,cAChB,KAAC,SAAS,cACR,KAAC,aAAa,KAAG,GACP,GACM,CACrB,CAAC"}
|
|
@@ -1,45 +1,52 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _react2 = require("@mdx-js/react");
|
|
9
|
-
var _excluded = ["components"]; // @ts-nocheck
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
-
/* @jsxRuntime classic */
|
|
15
|
-
/* @jsx mdx */
|
|
16
|
-
|
|
17
|
-
var layoutProps = {};
|
|
18
|
-
var MDXLayout = "wrapper";
|
|
19
|
-
function MDXContent(_ref) {
|
|
20
|
-
var components = _ref.components,
|
|
21
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
-
return (0, _react2.mdx)(MDXLayout, _extends({}, layoutProps, props, {
|
|
23
|
-
components: components,
|
|
24
|
-
mdxType: "MDXLayout"
|
|
25
|
-
}), (0, _react2.mdx)("p", null, "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 ", (0, _react2.mdx)("inlineCode", {
|
|
26
|
-
parentName: "p"
|
|
27
|
-
}, "isFileSupported()"), " compiler API."), (0, _react2.mdx)("ul", null, (0, _react2.mdx)("li", {
|
|
28
|
-
parentName: "ul"
|
|
29
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
30
|
-
parentName: "li"
|
|
31
|
-
}, "createCompiler(compilers: Compiler[], options: CompilerOptions)"), " API to support the creation a Multi-compiler instance which can be used in the Env API (the ", (0, _react2.mdx)("inlineCode", {
|
|
32
|
-
parentName: "li"
|
|
33
|
-
}, "overrideCompiler"), " and ", (0, _react2.mdx)("inlineCode", {
|
|
34
|
-
parentName: "li"
|
|
35
|
-
}, "getCompiler"), " APIs)."), (0, _react2.mdx)("li", {
|
|
36
|
-
parentName: "ul"
|
|
37
|
-
}, "Supports the creation of a multi-compiler build tasks.")), (0, _react2.mdx)("pre", null, (0, _react2.mdx)("code", {
|
|
38
|
-
parentName: "pre",
|
|
39
|
-
"className": "language-ts"
|
|
40
|
-
}, "// create a multi compiler instance.\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\n\n// create a multi-compiler build task.\ncompiler.createTask('MultiCompiler', compiler);\n")));
|
|
41
|
-
}
|
|
42
|
-
;
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
43
7
|
MDXContent.isMDXComponent = true;
|
|
8
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useMDXComponents as _provideComponents } from "@mdx-js/react";
|
|
10
|
+
function _createMdxContent(props) {
|
|
11
|
+
var _components = _objectSpread(_objectSpread({
|
|
12
|
+
code: "code",
|
|
13
|
+
li: "li",
|
|
14
|
+
p: "p",
|
|
15
|
+
pre: "pre",
|
|
16
|
+
ul: "ul"
|
|
17
|
+
}, _provideComponents()), props.components);
|
|
18
|
+
return _jsxs(_Fragment, {
|
|
19
|
+
children: [_jsxs(_components.p, {
|
|
20
|
+
children: ["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 ", _jsx(_components.code, {
|
|
21
|
+
children: "isFileSupported()"
|
|
22
|
+
}), " compiler API."]
|
|
23
|
+
}), "\n", _jsxs(_components.ul, {
|
|
24
|
+
children: ["\n", _jsxs(_components.li, {
|
|
25
|
+
children: [_jsx(_components.code, {
|
|
26
|
+
children: "createCompiler(compilers: Compiler[], options: CompilerOptions)"
|
|
27
|
+
}), " API to support the creation a Multi-compiler instance which can be used in the Env API (the ", _jsx(_components.code, {
|
|
28
|
+
children: "overrideCompiler"
|
|
29
|
+
}), " and ", _jsx(_components.code, {
|
|
30
|
+
children: "getCompiler"
|
|
31
|
+
}), " APIs)."]
|
|
32
|
+
}), "\n", _jsx(_components.li, {
|
|
33
|
+
children: "Supports the creation of a multi-compiler build tasks."
|
|
34
|
+
}), "\n"]
|
|
35
|
+
}), "\n", _jsx(_components.pre, {
|
|
36
|
+
children: _jsx(_components.code, {
|
|
37
|
+
className: "language-ts",
|
|
38
|
+
children: "// create a multi compiler instance.\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\n\n// create a multi-compiler build task.\ncompiler.createTask('MultiCompiler', compiler);\n"
|
|
39
|
+
})
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export default function MDXContent() {
|
|
44
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
45
|
+
var _provideComponents$pr = _objectSpread(_objectSpread({}, _provideComponents()), props.components),
|
|
46
|
+
MDXLayout = _provideComponents$pr.wrapper;
|
|
47
|
+
return MDXLayout ? _jsx(MDXLayout, _objectSpread(_objectSpread({}, props), {}, {
|
|
48
|
+
children: _jsx(_createMdxContent, _objectSpread({}, props))
|
|
49
|
+
})) : _createMdxContent(props);
|
|
50
|
+
}
|
|
44
51
|
|
|
45
52
|
//# sourceMappingURL=multi-compiler.mdx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["MDXContent","isMDXComponent","Fragment","_Fragment","jsx","_jsx","jsxs","_jsxs","useMDXComponents","_provideComponents","_createMdxContent","props","_components","_objectSpread","code","li","p","pre","ul","components","children","className","arguments","length","undefined","_provideComponents$pr","MDXLayout","wrapper"],"sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_aspect-docs_multi-compiler@0.0.177","sources":["multi-compiler.mdx.js"],"sourcesContent":["MDXContent.isMDXComponent = true;\nimport {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from \"react/jsx-runtime\";\nimport {useMDXComponents as _provideComponents} from \"@mdx-js/react\";\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n pre: \"pre\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"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 \", _jsx(_components.code, {\n children: \"isFileSupported()\"\n }), \" compiler API.\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"createCompiler(compilers: Compiler[], options: CompilerOptions)\"\n }), \" API to support the creation a Multi-compiler instance which can be used in the Env API (the \", _jsx(_components.code, {\n children: \"overrideCompiler\"\n }), \" and \", _jsx(_components.code, {\n children: \"getCompiler\"\n }), \" APIs).\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Supports the creation of a multi-compiler build tasks.\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.pre, {\n children: _jsx(_components.code, {\n className: \"language-ts\",\n children: \"// create a multi compiler instance.\\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\\n\\n// create a multi-compiler build task.\\ncompiler.createTask('MultiCompiler', compiler);\\n\"\n })\n })]\n });\n}\nexport default function MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\n"],"mappings":";;;;;;AAAAA,UAAU,CAACC,cAAc,GAAG,IAAI;AAChC,SAAQC,QAAQ,IAAIC,SAAS,EAAEC,GAAG,IAAIC,IAAI,EAAEC,IAAI,IAAIC,KAAK,QAAO,mBAAmB;AACnF,SAAQC,gBAAgB,IAAIC,kBAAkB,QAAO,eAAe;AACpE,SAASC,iBAAiBA,CAACC,KAAK,EAAE;EAChC,IAAMC,WAAW,GAAAC,aAAA,CAAAA,aAAA;IACfC,IAAI,EAAE,MAAM;IACZC,EAAE,EAAE,IAAI;IACRC,CAAC,EAAE,GAAG;IACNC,GAAG,EAAE,KAAK;IACVC,EAAE,EAAE;EAAI,GACLT,kBAAkB,CAAC,CAAC,GACpBE,KAAK,CAACQ,UAAU,CACpB;EACD,OAAOZ,KAAK,CAACJ,SAAS,EAAE;IACtBiB,QAAQ,EAAE,CAACb,KAAK,CAACK,WAAW,CAACI,CAAC,EAAE;MAC9BI,QAAQ,EAAE,CAAC,iKAAiK,EAAEf,IAAI,CAACO,WAAW,CAACE,IAAI,EAAE;QACnMM,QAAQ,EAAE;MACZ,CAAC,CAAC,EAAE,gBAAgB;IACtB,CAAC,CAAC,EAAE,IAAI,EAAEb,KAAK,CAACK,WAAW,CAACM,EAAE,EAAE;MAC9BE,QAAQ,EAAE,CAAC,IAAI,EAAEb,KAAK,CAACK,WAAW,CAACG,EAAE,EAAE;QACrCK,QAAQ,EAAE,CAACf,IAAI,CAACO,WAAW,CAACE,IAAI,EAAE;UAChCM,QAAQ,EAAE;QACZ,CAAC,CAAC,EAAE,+FAA+F,EAAEf,IAAI,CAACO,WAAW,CAACE,IAAI,EAAE;UAC1HM,QAAQ,EAAE;QACZ,CAAC,CAAC,EAAE,OAAO,EAAEf,IAAI,CAACO,WAAW,CAACE,IAAI,EAAE;UAClCM,QAAQ,EAAE;QACZ,CAAC,CAAC,EAAE,SAAS;MACf,CAAC,CAAC,EAAE,IAAI,EAAEf,IAAI,CAACO,WAAW,CAACG,EAAE,EAAE;QAC7BK,QAAQ,EAAE;MACZ,CAAC,CAAC,EAAE,IAAI;IACV,CAAC,CAAC,EAAE,IAAI,EAAEf,IAAI,CAACO,WAAW,CAACK,GAAG,EAAE;MAC9BG,QAAQ,EAAEf,IAAI,CAACO,WAAW,CAACE,IAAI,EAAE;QAC/BO,SAAS,EAAE,aAAa;QACxBD,QAAQ,EAAE;MACZ,CAAC;IACH,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ;AACA,eAAe,SAASpB,UAAUA,CAAA,EAAa;EAAA,IAAZW,KAAK,GAAAW,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC3C,IAAAG,qBAAA,GAAAZ,aAAA,CAAAA,aAAA,KACKJ,kBAAkB,CAAC,CAAC,GACpBE,KAAK,CAACQ,UAAU;IAFLO,SAAS,GAAAD,qBAAA,CAAlBE,OAAO;EAId,OAAOD,SAAS,GAAGrB,IAAI,CAACqB,SAAS,EAAAb,aAAA,CAAAA,aAAA,KAC5BF,KAAK;IACRS,QAAQ,EAAEf,IAAI,CAACK,iBAAiB,EAAAG,aAAA,KAC3BF,KAAK,CACT;EAAC,EACH,CAAC,GAAGD,iBAAiB,CAACC,KAAK,CAAC;AAC/B","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_aspect-docs_multi-compiler@0.0.177/dist/multi-compiler.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_aspect-docs_multi-compiler@0.0.177/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,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/compilation.aspect-docs.multi-compiler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.177",
|
|
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.177"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"core-js": "^3.0.0",
|
|
13
|
-
"@mdx-js/react": "1.
|
|
13
|
+
"@mdx-js/react": "^3.1.1",
|
|
14
14
|
"@teambit/mdx.ui.mdx-scope-context": "1.0.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/react": "^
|
|
17
|
+
"@types/react": "^19.0.0",
|
|
18
18
|
"@types/mocha": "9.1.0",
|
|
19
19
|
"@types/node": "12.20.4",
|
|
20
|
-
"@types/react-dom": "^
|
|
20
|
+
"@types/react-dom": "^19.0.0",
|
|
21
21
|
"@types/jest": "^26.0.0",
|
|
22
22
|
"@babel/runtime": "7.20.0",
|
|
23
23
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@teambit/mdx.ui.mdx-layout": "1.0.12"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"react": "^
|
|
29
|
-
"react-dom": "^
|
|
28
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
29
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
30
30
|
},
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"optionalDependencies": {},
|
package/types/asset.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ declare module '*.png' {
|
|
|
5
5
|
declare module '*.svg' {
|
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
7
|
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
|
8
|
+
export const ReactComponent: FunctionComponent<
|
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
|
10
|
+
>;
|
|
9
11
|
const src: string;
|
|
10
12
|
export default src;
|
|
11
13
|
}
|
|
@@ -27,3 +29,15 @@ declare module '*.bmp' {
|
|
|
27
29
|
const value: any;
|
|
28
30
|
export = value;
|
|
29
31
|
}
|
|
32
|
+
declare module '*.otf' {
|
|
33
|
+
const value: any;
|
|
34
|
+
export = value;
|
|
35
|
+
}
|
|
36
|
+
declare module '*.woff' {
|
|
37
|
+
const value: any;
|
|
38
|
+
export = value;
|
|
39
|
+
}
|
|
40
|
+
declare module '*.woff2' {
|
|
41
|
+
const value: any;
|
|
42
|
+
export = value;
|
|
43
|
+
}
|