swico 0.8.5-beta12 → 0.8.5-beta14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swico",
|
|
3
|
-
"version": "0.8.5-
|
|
3
|
+
"version": "0.8.5-beta14",
|
|
4
4
|
"description": "Simple, efficient, and practical front-end framework",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"esbuild-loader": "4.0.3",
|
|
70
70
|
"eslint": "8.48.0",
|
|
71
71
|
"eslint-webpack-plugin": "4.0.0",
|
|
72
|
-
"fork-ts-checker-webpack-plugin": "
|
|
72
|
+
"fork-ts-checker-webpack-plugin": "8.0.0",
|
|
73
73
|
"html-loader": "5.0.0",
|
|
74
74
|
"html-webpack-plugin": "5.3.2",
|
|
75
75
|
"husky": "9.0.10",
|
|
@@ -42,10 +42,17 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
|
|
|
42
42
|
use: {
|
|
43
43
|
loader: string;
|
|
44
44
|
options: {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
jsc: {
|
|
46
|
+
parser: {
|
|
47
|
+
syntax: string;
|
|
48
|
+
tsx: boolean;
|
|
49
|
+
decorators: boolean;
|
|
50
|
+
dynamicImport: boolean;
|
|
51
|
+
};
|
|
52
|
+
target: string;
|
|
53
|
+
};
|
|
47
54
|
};
|
|
48
|
-
};
|
|
55
|
+
}[];
|
|
49
56
|
loader?: undefined;
|
|
50
57
|
oneOf?: undefined;
|
|
51
58
|
} | {
|
|
@@ -135,15 +135,24 @@ function default_1(_a) {
|
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
test: /\.ts$/,
|
|
138
|
+
test: /\.(ts|js)$/,
|
|
139
139
|
exclude: /node_modules/,
|
|
140
|
-
use:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
use: [
|
|
141
|
+
{
|
|
142
|
+
loader: 'swc-loader',
|
|
143
|
+
options: {
|
|
144
|
+
jsc: {
|
|
145
|
+
parser: {
|
|
146
|
+
syntax: 'typescript',
|
|
147
|
+
tsx: false,
|
|
148
|
+
decorators: true,
|
|
149
|
+
dynamicImport: true
|
|
150
|
+
},
|
|
151
|
+
target: 'es2015'
|
|
152
|
+
}
|
|
153
|
+
}
|
|
145
154
|
}
|
|
146
|
-
|
|
155
|
+
]
|
|
147
156
|
},
|
|
148
157
|
{
|
|
149
158
|
oneOf: [
|
|
@@ -294,6 +303,12 @@ function default_1(_a) {
|
|
|
294
303
|
}
|
|
295
304
|
},
|
|
296
305
|
typescript: {
|
|
306
|
+
extensions: {
|
|
307
|
+
vue: {
|
|
308
|
+
enabled: true,
|
|
309
|
+
compiler: '@vue/compiler-sfc'
|
|
310
|
+
}
|
|
311
|
+
},
|
|
297
312
|
diagnosticOptions: {
|
|
298
313
|
semantic: true,
|
|
299
314
|
syntactic: true
|