swico 2.0.0-beta.20 → 2.0.0-beta.21

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": "2.0.0-beta.20",
3
+ "version": "2.0.0-beta.21",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -62,20 +62,30 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
62
62
  };
63
63
  };
64
64
  })[];
65
- loader?: undefined;
66
65
  generator?: undefined;
66
+ loader?: undefined;
67
67
  } | {
68
68
  test: RegExp;
69
69
  type: string;
70
- loader: string;
71
- use: {
70
+ use: ({
71
+ loader: string;
72
+ options: {
73
+ postcssOptions: {
74
+ plugins: string[][];
75
+ };
76
+ api?: undefined;
77
+ implementation?: undefined;
78
+ };
79
+ } | {
72
80
  loader: string;
73
81
  options: {
74
82
  api: string;
75
83
  implementation: string;
84
+ postcssOptions?: undefined;
76
85
  };
77
- }[];
86
+ })[];
78
87
  generator?: undefined;
88
+ loader?: undefined;
79
89
  } | {
80
90
  test: RegExp;
81
91
  type: string;
@@ -88,8 +98,8 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
88
98
  test: RegExp;
89
99
  type: string;
90
100
  use?: undefined;
91
- loader?: undefined;
92
101
  generator?: undefined;
102
+ loader?: undefined;
93
103
  } | {
94
104
  test: RegExp;
95
105
  loader: string;
@@ -113,8 +113,15 @@ function default_1(_a) {
113
113
  {
114
114
  test: /\.scss$/,
115
115
  type: 'css',
116
- loader: sassLoader,
117
116
  use: [
117
+ {
118
+ loader: postcssLoader,
119
+ options: {
120
+ postcssOptions: {
121
+ plugins: [['autoprefixer']]
122
+ }
123
+ }
124
+ },
118
125
  {
119
126
  loader: sassLoader,
120
127
  options: {