Skip to content

Commit a810470

Browse files
manuthjohnnyreilly
andauthored
Add Support for Resolving .cjs, .mjs, .cts and .mts Files (#1503)
* resolve: Pass implied module kind to typescript * resolve: Fix detection of declaration files * test: Replace inexistent package * test: Fix broken docker image * devcontainer: Update outdated settings * resolve: Allow `.cts`, `.mts`, `.cjs` and `.mjs` * resolve: Fix broken `enhanced-resolve` calls * resolve: Improve type safety * interop: Create a separate regex for declarations * types: Remove unnecessary return type * test: Add remark on how to regenerate tests * test: Regenerate comparison-tests * Bump the version number * Add changelog entry * doc: Update CHANGELOG.md Co-authored-by: John Reilly <[email protected]> Co-authored-by: John Reilly <[email protected]>
1 parent 69a9c23 commit a810470

File tree

57 files changed

+137
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+137
-129
lines changed

Diff for: .devcontainer/devcontainer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66

77
// Set *default* container specific settings.json values on container create.
88
"settings": {
9-
"terminal.integrated.shell.linux": "/bin/zsh"
9+
"terminal.integrated.profiles.linux": {
10+
"zsh": {
11+
"path": "/bin/zsh",
12+
"icon": "terminal-bash"
13+
}
14+
},
15+
"terminal.integrated.defaultProfile.linux": "zsh",
1016
},
1117

1218
// Add the IDs of extensions you want installed when the container is created.

Diff for: .dockerignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.devcontainer
2-
.git
32
.github
43
.vscode
54
.test

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v9.4.0
4+
5+
* [Add Support for Resolving `.cjs`, `.mjs`, `.cts` and `.mts` Files](https://github.com/TypeStrong/ts-loader/pull/1503) [#1503] - thanks @manuth
6+
37
## v9.3.1
48

59
* [Bug fix: Generate declaration files for js files if allowJs is set to true](https://github.com/TypeStrong/ts-loader/pull/1483) [#1260] - thanks @hediet and @mvilliger

Diff for: Dockerfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \
1010
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
1111
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
1212
&& apt-get update \
13-
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
13+
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \
1414
--no-install-recommends \
1515
&& rm -rf /var/lib/apt/lists/* \
1616
&& apt-get purge --auto-remove -y curl \
1717
&& rm -rf /src/*.deb
1818

1919
WORKDIR /TypeStrong/ts-loader
20+
COPY .git /TypeStrong/ts-loader/.git
2021

2122
# install packages
2223
COPY package.json yarn.lock index.js /TypeStrong/ts-loader/
@@ -32,3 +33,8 @@ COPY test /TypeStrong/ts-loader/test
3233
# build and run tests with:
3334
# docker build -t ts-loader .
3435
# docker run -it ts-loader yarn test
36+
37+
# regenerate comparison-tests with:
38+
# docker build -t ts-loader .
39+
# docker run -v $(pwd):/TypeStrong/ts-loader -it ts-loader yarn build
40+
# docker run -v $(pwd):/TypeStrong/ts-loader -it ts-loader yarn run comparison-tests --save-output

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-loader",
3-
"version": "9.3.1",
3+
"version": "9.4.0",
44
"description": "TypeScript loader for webpack",
55
"main": "index.js",
66
"types": "dist",

Diff for: src/constants.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ export const LineFeedCode = 1;
99

1010
export const extensionRegex = /\.[^.]+$/;
1111
export const tsxRegex = /\.tsx$/i;
12-
export const tsTsxRegex = /\.ts(x?)$/i;
13-
export const dtsDtsxOrDtsDtsxMapRegex = /\.d\.ts(x?)(\.map)?$/i;
14-
export const dtsTsTsxRegex = /(\.d)?\.ts(x?)$/i;
15-
export const dtsTsTsxJsJsxRegex = /((\.d)?\.ts(x?)|js(x?))$/i;
16-
export const tsTsxJsJsxRegex = /\.tsx?$|\.jsx?$/i;
17-
export const jsJsx = /\.js(x?)$/i;
18-
export const jsJsxMap = /\.js(x?)\.map$/i;
12+
export const tsTsxRegex = /\.([cm]?ts|tsx)$/i;
13+
export const declarationRegex = /\.d\.([cm]?ts|tsx)$/i;
14+
export const dtsDtsxOrDtsDtsxMapRegex = /\.d\.([cm]?ts|tsx)(\.map)?$/i;
15+
export const dtsTsTsxRegex = /(\.d)?\.([cm]?ts|tsx)$/i;
16+
export const dtsTsTsxJsJsxRegex = /((\.d)?\.([cm]?[tj]s|[tj]sx))$/i;
17+
export const tsTsxJsJsxRegex = /\.([cm]?[tj]s|[tj]sx)$/i;
18+
export const jsJsx = /\.([cm]?js|jsx)$/i;
19+
export const jsJsxMap = /\.([cm]?js|jsx)\.map$/i;
1920
export const jsonRegex = /\.json$/i;
2021
export const nodeModules = /node_modules/i;

Diff for: src/instances.ts

+11-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import * as webpack from 'webpack';
77
import { makeAfterCompile } from './after-compile';
88
import { getCompiler, getCompilerOptions } from './compilerSetup';
99
import { getConfigFile, getConfigParseResult } from './config';
10-
import { dtsDtsxOrDtsDtsxMapRegex, EOL, tsTsxRegex } from './constants';
10+
import {
11+
declarationRegex,
12+
dtsDtsxOrDtsDtsxMapRegex,
13+
EOL,
14+
tsTsxRegex,
15+
} from './constants';
1116
import { getTSInstanceFromCache, setTSInstanceInCache } from './instance-cache';
1217
import { FilePathKey, LoaderOptions, TSFiles, TSInstance } from './interfaces';
1318
import * as logger from './logger';
@@ -448,13 +453,13 @@ function getScriptRegexp(instance: TSInstance) {
448453
if (instance.configParseResult.options.resolveJsonModule) {
449454
// if allowJs is set then we should accept js(x) files
450455
return instance.configParseResult.options.allowJs === true
451-
? /\.tsx?$|\.json$|\.jsx?$/i
452-
: /\.tsx?$|\.json$/i;
456+
? /\.([cm]?[tj]s|[tj]sx|json)$/i
457+
: /\.([cm]?ts|tsx|json)$/i;
453458
}
454459
// if allowJs is set then we should accept js(x) files
455460
return instance.configParseResult.options.allowJs === true
456-
? /\.tsx?$|\.jsx?$/i
457-
: /\.tsx?$/i;
461+
? /\.([cm]?[tj]s|[tj]sx)$/i
462+
: /\.([cm]?ts|tsx)$/i;
458463
}
459464

460465
export function reportTranspileErrors(
@@ -682,7 +687,7 @@ export function getInputFileNameFromOutput(
682687
instance: TSInstance,
683688
filePath: string
684689
): string | undefined {
685-
if (filePath.match(tsTsxRegex) && !fileExtensionIs(filePath, '.d.ts')) {
690+
if (filePath.match(tsTsxRegex) && !declarationRegex.test(filePath)) {
686691
return undefined;
687692
}
688693
if (instance.solutionBuilderHost) {

Diff for: src/resolver.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export function makeResolver(
88
return create.sync(options.resolve);
99
}
1010

11-
export type ResolveSync = (
12-
context: string | undefined,
13-
path: string,
14-
moduleName: string
15-
) => string | false;
11+
export type ResolveSync = {
12+
(context: any, path: string, moduleName: string): string | false;
13+
(path: string, moduleName: string): string | false;
14+
};

Diff for: src/servicesHost.ts

+39-27
Original file line numberDiff line numberDiff line change
@@ -260,28 +260,32 @@ function makeResolvers<T extends typescript.ModuleResolutionHost>(
260260
instance
261261
);
262262

263-
const resolveModuleNames = (
264-
moduleNames: string[],
265-
containingFile: string,
266-
_reusedNames?: string[] | undefined,
267-
redirectedReference?: typescript.ResolvedProjectReference | undefined
268-
): (typescript.ResolvedModule | undefined)[] => {
269-
const resolvedModules = moduleNames.map(moduleName =>
270-
resolveModule(
271-
resolveSync,
272-
resolveModuleName,
273-
appendTsTsxSuffixesIfRequired,
274-
scriptRegex,
275-
moduleName,
276-
containingFile,
277-
redirectedReference
278-
)
279-
);
263+
const resolveModuleNames: typescript.ProgramHost<typescript.BuilderProgram>['resolveModuleNames'] =
264+
(
265+
moduleNames,
266+
containingFile,
267+
_reusedNames?,
268+
redirectedReference?,
269+
_?,
270+
containingSourceFile?
271+
) => {
272+
const resolvedModules = moduleNames.map(moduleName =>
273+
resolveModule(
274+
resolveSync,
275+
resolveModuleName,
276+
appendTsTsxSuffixesIfRequired,
277+
scriptRegex,
278+
moduleName,
279+
containingFile,
280+
redirectedReference,
281+
containingSourceFile
282+
)
283+
);
280284

281-
populateDependencyGraph(resolvedModules, instance, containingFile);
285+
populateDependencyGraph(resolvedModules, instance, containingFile);
282286

283-
return resolvedModules;
284-
};
287+
return resolvedModules;
288+
};
285289

286290
const resolveTypeReferenceDirective = makeResolveTypeReferenceDirective(
287291
compiler,
@@ -1249,13 +1253,13 @@ function resolveModule(
12491253
scriptRegex: RegExp,
12501254
moduleName: string,
12511255
containingFile: string,
1252-
redirectedReference: typescript.ResolvedProjectReference | undefined
1256+
redirectedReference: typescript.ResolvedProjectReference | undefined,
1257+
containingSourceFile: typescript.SourceFile | undefined
12531258
) {
12541259
let resolutionResult: ResolvedModule;
12551260

12561261
try {
12571262
const originalFileName = resolveSync(
1258-
undefined,
12591263
path.normalize(path.dirname(containingFile)),
12601264
moduleName
12611265
);
@@ -1272,7 +1276,8 @@ function resolveModule(
12721276
const tsResolution = resolveModuleName(
12731277
moduleName,
12741278
containingFile,
1275-
redirectedReference
1279+
redirectedReference,
1280+
containingSourceFile
12761281
);
12771282
if (tsResolution.resolvedModule !== undefined) {
12781283
const resolvedFileName = path.normalize(
@@ -1297,7 +1302,8 @@ function resolveModule(
12971302
type ResolveModuleName = (
12981303
moduleName: string,
12991304
containingFile: string,
1300-
redirectedReference: typescript.ResolvedProjectReference | undefined
1305+
redirectedReference: typescript.ResolvedProjectReference | undefined,
1306+
containingSourceFile: typescript.SourceFile | undefined
13011307
) => typescript.ResolvedModuleWithFailedLookupLocations;
13021308

13031309
function makeResolveModuleName(
@@ -1314,14 +1320,20 @@ function makeResolveModuleName(
13141320
moduleResolutionHost
13151321
);
13161322
}
1317-
return (moduleName, containingFile, redirectedReference) =>
1323+
return (
1324+
moduleName,
1325+
containingFileName,
1326+
redirectedReference,
1327+
containingFile
1328+
) =>
13181329
compiler.resolveModuleName(
13191330
moduleName,
1320-
containingFile,
1331+
containingFileName,
13211332
compilerOptions,
13221333
moduleResolutionHost,
13231334
instance.moduleResolutionCache,
1324-
redirectedReference
1335+
redirectedReference,
1336+
containingFile?.impliedNodeFormat
13251337
);
13261338
}
13271339

Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
asset bundle.js 2.6 KiB [emitted] (name: main)
2-
./app.ts 120 bytes [built] [code generated] [2 errors]
2+
./app.ts 120 bytes [built] [code generated] [1 error]
33
./common/components/myComponent.ts 46 bytes [built] [code generated]
44

5-
ERROR in app.ts
6-
./app.ts 1:29-53
7-
[tsl] ERROR in app.ts(1,30)
8-
 TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.
9-
ts-loader-default_609318b4f68865d3
10-
115
ERROR in app.ts
126
./app.ts 2:30-55
137
[tsl] ERROR in app.ts(2,31)
148
 TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.
159
ts-loader-default_609318b4f68865d3
1610

17-
webpack compiled with 2 errors
11+
webpack compiled with 1 error
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
asset bundle.js 2.6 KiB [emitted] (name: main)
2-
cached modules 120 bytes [cached] 1 module
2+
./app.ts 120 bytes [built] [code generated] [1 error]
33
./common/components/myComponent.ts 45 bytes [built] [code generated]
44

5-
ERROR in app.ts
6-
./app.ts 1:29-53
7-
[tsl] ERROR in app.ts(1,30)
8-
 TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.
9-
ts-loader-default_609318b4f68865d3
10-
115
ERROR in app.ts
126
./app.ts 2:30-55
137
[tsl] ERROR in app.ts(2,31)
148
 TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.
159
ts-loader-default_609318b4f68865d3
1610

17-
webpack compiled with 2 errors
11+
webpack compiled with 1 error
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
asset bundle.js 2.6 KiB [emitted] (name: main)
2-
./app.ts 120 bytes [built] [code generated] [2 errors]
2+
./app.ts 120 bytes [built] [code generated] [1 error]
33
./common/components/myComponent.ts 46 bytes [built] [code generated]
44

5-
ERROR in app.ts
6-
./app.ts 1:29-53
7-
Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter
8-
ts-loader-default_85b0565984bbe8dd
9-
105
ERROR in app.ts
116
./app.ts 2:30-55
127
Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter
138
ts-loader-default_85b0565984bbe8dd
149

15-
webpack compiled with 2 errors
10+
webpack compiled with 1 error
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
asset bundle.js 2.59 KiB [emitted] (name: main)
2-
./app.ts 101 bytes [built] [code generated] [1 error]
2+
./app.ts 101 bytes [built] [code generated]
33
./fake.ts 165 bytes [built] [code generated]
4-
5-
ERROR in app.ts
6-
./app.ts 1:29-34
7-
[tsl] ERROR in app.ts(1,30)
8-
 TS2307: Cannot find module 'api' or its corresponding type declarations.
9-
ts-loader-default_609318b4f68865d3
10-
11-
webpack compiled with 1 error
4+
webpack compiled successfully

Diff for: test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.8/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./nod
2626
\*********************************/
2727
/***/ (() => {
2828

29-
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");
29+
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/TypeStrong/ts-loader/dist/index.js:52:18)/n at successLoader (/TypeStrong/ts-loader/dist/index.js:39:5)/n at Object.loader (/TypeStrong/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");
3030

3131
/***/ })
3232

Diff for: test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.8/output.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
asset bundle.js 3.14 KiB [emitted] (name: main)
1+
asset bundle.js 3.1 KiB [emitted] (name: main)
22
./app.ts 79 bytes [built] [code generated]
33
./node_modules/a/index.ts 39 bytes [built] [code generated]
44

Diff for: test/comparison-tests/projectReferencesMultiple/expectedOutput-4.8/bundle.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */
2626
\**********************/
2727
/***/ (() => {
2828

29-
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
29+
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/TypeStrong/ts-loader/dist/index.js:52:18)/n at successLoader (/TypeStrong/ts-loader/dist/index.js:39:5)/n at Object.loader (/TypeStrong/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
3030

3131
/***/ }),
3232

@@ -36,7 +36,7 @@ eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeS
3636
\************************/
3737
/***/ (() => {
3838

39-
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
39+
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/TypeStrong/ts-loader/dist/index.js:52:18)/n at successLoader (/TypeStrong/ts-loader/dist/index.js:39:5)/n at Object.loader (/TypeStrong/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
4040

4141
/***/ })
4242

Diff for: test/comparison-tests/projectReferencesMultiple/expectedOutput-4.8/output.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assets by path unreferencedIndirect/ 1.42 KiB
1010
asset unreferencedIndirect/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
1111
asset unreferencedIndirect/index.js 209 bytes [compared for emit]
1212
asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit]
13-
asset bundle.js 3.73 KiB [emitted] (name: main)
13+
asset bundle.js 3.65 KiB [emitted] (name: main)
1414
asset indirectWithError/tsconfig.tsbuildinfo 1.33 KiB [compared for emit]
1515
asset lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit]
1616
./app.ts 187 bytes [built] [code generated]

Diff for: test/comparison-tests/projectReferencesMultiple/expectedOutput-4.8/patch0/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n
3737
\************************/
3838
/***/ (() => {
3939

40-
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
40+
eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/TypeStrong/ts-loader/dist/index.js:52:18)/n at successLoader (/TypeStrong/ts-loader/dist/index.js:39:5)/n at Object.loader (/TypeStrong/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
4141

4242
/***/ })
4343

Diff for: test/comparison-tests/projectReferencesMultiple/expectedOutput-4.8/patch0/output.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ assets by status 369 bytes [compared for emit]
55
assets by path lib/*.ts 123 bytes
66
asset lib/index.d.ts 84 bytes [compared for emit]
77
asset lib/fileWithError.d.ts 39 bytes [compared for emit]
8-
assets by status 4.72 KiB [emitted]
9-
asset bundle.js 3.39 KiB [emitted] (name: main)
8+
assets by status 4.68 KiB [emitted]
9+
asset bundle.js 3.35 KiB [emitted] (name: main)
1010
asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
1111
./app.ts 187 bytes [built] [code generated]
1212
./lib/index.ts 119 bytes [built] [code generated]

0 commit comments

Comments
 (0)