swico 0.8.4 → 0.8.5-beta10
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.
|
|
3
|
+
"version": "0.8.5-beta10",
|
|
4
4
|
"description": "Simple, efficient, and practical front-end framework",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"history": "5.3.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
+
"@babel/types": "7.23.9",
|
|
41
42
|
"@types/react": "18.2.79",
|
|
42
43
|
"@types/react-dom": "18.2.25",
|
|
43
44
|
"@vue/compiler-sfc": "3.4.14",
|
|
@@ -52,7 +53,6 @@
|
|
|
52
53
|
"webpack-dev-server": "4.15.2",
|
|
53
54
|
"webpack-merge": "5.9.0",
|
|
54
55
|
"webpackbar": "6.0.1",
|
|
55
|
-
"@babel/types": "7.23.9",
|
|
56
56
|
"@commitlint/cli": "18.5.0",
|
|
57
57
|
"@commitlint/config-conventional": "18.5.0",
|
|
58
58
|
"@swc/core": "1.4.6",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"style-loader": "3.3.0",
|
|
86
86
|
"swc-loader": "0.2.6",
|
|
87
87
|
"ts-node": "10.9.1",
|
|
88
|
+
"ts-loader": "9.5.1",
|
|
88
89
|
"typescript": "5.3.3"
|
|
89
90
|
}
|
|
90
91
|
}
|
|
@@ -27,8 +27,6 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
|
|
|
27
27
|
options: {
|
|
28
28
|
jsc: {
|
|
29
29
|
parser: {
|
|
30
|
-
syntax: string;
|
|
31
|
-
tsx: boolean;
|
|
32
30
|
decorators: boolean;
|
|
33
31
|
dynamicImport: boolean;
|
|
34
32
|
};
|
|
@@ -38,6 +36,17 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
|
|
|
38
36
|
}[];
|
|
39
37
|
loader?: undefined;
|
|
40
38
|
oneOf?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
test: RegExp;
|
|
41
|
+
exclude: RegExp;
|
|
42
|
+
use: {
|
|
43
|
+
loader: string;
|
|
44
|
+
options: {
|
|
45
|
+
appendTsSuffixTo: RegExp[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
loader?: undefined;
|
|
49
|
+
oneOf?: undefined;
|
|
41
50
|
} | {
|
|
42
51
|
oneOf: ({
|
|
43
52
|
test: RegExp;
|
|
@@ -117,7 +117,7 @@ function default_1(_a) {
|
|
|
117
117
|
exclude: /node_modules/
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
test: /\.
|
|
120
|
+
test: /\.js$/,
|
|
121
121
|
exclude: /node_modules/,
|
|
122
122
|
use: [
|
|
123
123
|
{
|
|
@@ -125,8 +125,6 @@ function default_1(_a) {
|
|
|
125
125
|
options: {
|
|
126
126
|
jsc: {
|
|
127
127
|
parser: {
|
|
128
|
-
syntax: 'typescript',
|
|
129
|
-
tsx: false,
|
|
130
128
|
decorators: true,
|
|
131
129
|
dynamicImport: true
|
|
132
130
|
},
|
|
@@ -136,6 +134,16 @@ function default_1(_a) {
|
|
|
136
134
|
}
|
|
137
135
|
]
|
|
138
136
|
},
|
|
137
|
+
{
|
|
138
|
+
test: /\.ts$/,
|
|
139
|
+
exclude: /node_modules/,
|
|
140
|
+
use: {
|
|
141
|
+
loader: 'ts-loader',
|
|
142
|
+
options: {
|
|
143
|
+
appendTsSuffixTo: [/\.vue$/]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
139
147
|
{
|
|
140
148
|
oneOf: [
|
|
141
149
|
{
|