@golar/vue 0.0.12 → 0.0.14
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/bin.js +5 -1
- package/dist/language-plugin.js +3 -1
- package/package.json +3 -4
package/dist/bin.js
CHANGED
|
@@ -7,7 +7,11 @@ enableCompileCache();
|
|
|
7
7
|
const debug = Debug.create("plugin:vue");
|
|
8
8
|
createVolarPlugin({
|
|
9
9
|
filename: import.meta.filename,
|
|
10
|
-
|
|
10
|
+
extensions: [{
|
|
11
|
+
extension: ".vue",
|
|
12
|
+
stripFromDeclarationFileName: false,
|
|
13
|
+
allowExtensionlessImports: false
|
|
14
|
+
}],
|
|
11
15
|
languagePlugins: async (cwd, configFileName) => {
|
|
12
16
|
const started = performance.now();
|
|
13
17
|
await import("./patch-language-tools.js");
|
package/dist/language-plugin.js
CHANGED
|
@@ -6,6 +6,7 @@ import PluginVueTsx from "@vue/language-core/lib/plugins/vue-tsx.js";
|
|
|
6
6
|
import PluginFileVue from "@vue/language-core/lib/plugins/file-vue.js";
|
|
7
7
|
import PluginVueScriptJs from "@vue/language-core/lib/plugins/vue-script-js.js";
|
|
8
8
|
import PluginVueTemplateHtml from "@vue/language-core/lib/plugins/vue-template-html.js";
|
|
9
|
+
import PluginVueStyleCSS from "@vue/language-core/lib/plugins/vue-style-css.js";
|
|
9
10
|
|
|
10
11
|
//#region src/language-plugin.ts
|
|
11
12
|
function vueLanguagePlugin(cwd, configFileName) {
|
|
@@ -14,7 +15,8 @@ function vueLanguagePlugin(cwd, configFileName) {
|
|
|
14
15
|
PluginVueTsx,
|
|
15
16
|
PluginFileVue,
|
|
16
17
|
PluginVueScriptJs,
|
|
17
|
-
PluginVueTemplateHtml
|
|
18
|
+
PluginVueTemplateHtml,
|
|
19
|
+
PluginVueStyleCSS
|
|
18
20
|
].flatMap(({ default: ctor }) => ctor({
|
|
19
21
|
modules: {
|
|
20
22
|
typescript: typescript_lite_exports,
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golar/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./golar-entry": "./dist/golar-entry.js"
|
|
7
7
|
},
|
|
8
|
-
"golarBin": "./dist/bin.js",
|
|
9
8
|
"files": [
|
|
10
9
|
"./dist"
|
|
11
10
|
],
|
|
@@ -24,8 +23,8 @@
|
|
|
24
23
|
"dependencies": {
|
|
25
24
|
"@vue/compiler-dom": "^3.5.0",
|
|
26
25
|
"@vue/language-core": "3.2.2",
|
|
27
|
-
"@golar/volar": "0.0.
|
|
28
|
-
"@golar/util": "0.0.
|
|
26
|
+
"@golar/volar": "0.0.14",
|
|
27
|
+
"@golar/util": "0.0.14"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
30
|
"@vue/compiler-sfc": "^3.5.27",
|