@astrojs/language-server 2.12.0 → 2.12.1
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/core/astro2tsx.js +5 -1
- package/package.json +1 -1
package/dist/core/astro2tsx.js
CHANGED
|
@@ -8,7 +8,11 @@ const vscode_html_languageservice_1 = require("vscode-html-languageservice");
|
|
|
8
8
|
const utils_js_1 = require("./utils.js");
|
|
9
9
|
function safeConvertToTSX(content, options) {
|
|
10
10
|
try {
|
|
11
|
-
const tsx = (0, sync_1.convertToTSX)(content, {
|
|
11
|
+
const tsx = (0, sync_1.convertToTSX)(content, {
|
|
12
|
+
filename: options.filename,
|
|
13
|
+
includeScripts: false,
|
|
14
|
+
includeStyles: false,
|
|
15
|
+
});
|
|
12
16
|
return tsx;
|
|
13
17
|
}
|
|
14
18
|
catch (e) {
|