swico 0.8.5-beta2 → 0.8.5-beta4

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-beta4",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -25,8 +25,8 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
25
25
  use: {
26
26
  loader: string;
27
27
  options: {
28
- presets: string[];
29
- plugins: string[];
28
+ appendTsSuffixTo: RegExp[];
29
+ transpileOnly: boolean;
30
30
  };
31
31
  }[];
32
32
  loader?: undefined;
@@ -121,10 +121,10 @@ function default_1(_a) {
121
121
  exclude: /node_modules/,
122
122
  use: [
123
123
  {
124
- loader: 'babel-loader?cacheDirectory=true',
124
+ loader: 'ts-loader',
125
125
  options: {
126
- presets: ['@babel/preset-env'],
127
- plugins: ['@babel/plugin-transform-runtime']
126
+ appendTsSuffixTo: [/\.vue$/],
127
+ transpileOnly: true
128
128
  }
129
129
  }
130
130
  ]