swico 0.8.5-beta2 → 0.8.5-beta3

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-beta2",
3
+ "version": "0.8.5-beta3",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -22,13 +22,23 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
22
22
  } | {
23
23
  test: RegExp;
24
24
  exclude: RegExp;
25
- use: {
25
+ use: ({
26
26
  loader: string;
27
27
  options: {
28
28
  presets: string[];
29
29
  plugins: string[];
30
+ appendTsSuffixTo?: undefined;
31
+ transpileOnly?: undefined;
30
32
  };
31
- }[];
33
+ } | {
34
+ loader: string;
35
+ options: {
36
+ appendTsSuffixTo: RegExp[];
37
+ transpileOnly: boolean;
38
+ presets?: undefined;
39
+ plugins?: undefined;
40
+ };
41
+ })[];
32
42
  loader?: undefined;
33
43
  oneOf?: undefined;
34
44
  } | {
@@ -126,6 +126,13 @@ function default_1(_a) {
126
126
  presets: ['@babel/preset-env'],
127
127
  plugins: ['@babel/plugin-transform-runtime']
128
128
  }
129
+ },
130
+ {
131
+ loader: 'ts-loader',
132
+ options: {
133
+ appendTsSuffixTo: [/\.vue$/],
134
+ transpileOnly: true
135
+ }
129
136
  }
130
137
  ]
131
138
  },