swico 2.1.0-beta.3 → 2.1.0-beta.4

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.1.0-beta.3",
3
+ "version": "2.1.0-beta.4",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -46,7 +46,6 @@
46
46
  "portfinder": "1.0.32",
47
47
  "postcss": "8.5.3",
48
48
  "postcss-loader": "8.1.0",
49
- "postcss-preset-env": "9.3.0",
50
49
  "qs": "6.13.0",
51
50
  "react-router": "7.5.0",
52
51
  "sass-embedded": "1.86.3",
@@ -48,6 +48,20 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
48
48
  oneOf?: undefined;
49
49
  } | {
50
50
  oneOf: ({
51
+ test: RegExp;
52
+ type: string;
53
+ use: {
54
+ loader: string;
55
+ options: {
56
+ postcssOptions: {
57
+ plugins: string[][];
58
+ config: string;
59
+ };
60
+ };
61
+ }[];
62
+ generator?: undefined;
63
+ loader?: undefined;
64
+ } | {
51
65
  test: RegExp;
52
66
  type: string;
53
67
  use: (string | {
@@ -102,7 +102,8 @@ function default_1(_a) {
102
102
  loader: postcssLoader,
103
103
  options: {
104
104
  postcssOptions: {
105
- plugins: [['autoprefixer']]
105
+ plugins: [['autoprefixer']],
106
+ config: path_1.default.join(projectPath, '/postcss.config.mjs')
106
107
  }
107
108
  }
108
109
  }