You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Due to <ahref="https://github.com/microsoft/TypeScript/issues/10866">https://github.com/microsoft/TypeScript/issues/10866</a>, you cannot use path aliases without a bundler like Webpack to further transform the generated JavaScript code in order to resolve the path aliases. Because this is a simple library demonstration, there's no need to use a bundler. In fact, for such libraries, it is far more efficient to not bundle the code.</p>
122
124
<p>However, we have left the path alias configuration in <code>tsconfig.json</code>, <code>jest.config.js</code> and in the tests we are making use of the <code>@</code> alias.</p>
Copy file name to clipboardExpand all lines: docs/modules/bin_typescript_demo_lib.html
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ <h3>default</h3>
90
90
<liclass="tsd-description">
91
91
<asideclass="tsd-sources">
92
92
<ul>
93
-
<li>Defined in <ahref="https://github.com/MatrixAI/TypeScript-Demo-Lib/blob/master/src/bin/typescript-demo-lib.ts#L13">bin/typescript-demo-lib.ts:13</a></li>
93
+
<li>Defined in <ahref="https://github.com/MatrixAI/TypeScript-Demo-Lib/blob/master/src/bin/typescript-demo-lib.ts#L14">bin/typescript-demo-lib.ts:14</a></li>
0 commit comments