From 2d9e691c084aa8192edca35aab15367da0ca04d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Sun, 26 Mar 2023 13:22:13 +0300 Subject: [PATCH] test: resolve ts extension when query params used (#12586) --- playground/resolve/index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playground/resolve/index.html b/playground/resolve/index.html index 4bdfc829c20bea..3aba3224c4822c 100644 --- a/playground/resolve/index.html +++ b/playground/resolve/index.html @@ -91,6 +91,12 @@

fail

+

+ A ts module can import another ESM module using its corresponding mjs file + name with query parameters +

+

fail

+

A ts module can import another CommonJS module using its corresponding cjs file name @@ -262,6 +268,9 @@

resolve package that contains # in path

import { msgMjs as tsMjsExtensionMsg } from './ts-extension' text('.mjs-extension', tsMjsExtensionMsg) + import { msgMjs as tsMjsExtensionWithQueryMsg } from './ts-extension?query=1' + text('.mjs-extension-with-query', tsMjsExtensionWithQueryMsg) + // filename with dot import { bar } from './util/bar.util' text('.dot', bar())