swico 2.0.0-beta.23 → 2.0.0-beta.25

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.23",
3
+ "version": "2.0.0-beta.25",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -50,8 +50,10 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
50
50
  use: (string | {
51
51
  loader: string;
52
52
  options: {
53
- modules: boolean;
54
- localIdentName: string;
53
+ modules: {
54
+ localIdentName: string;
55
+ namedExport: boolean;
56
+ };
55
57
  postcssOptions?: undefined;
56
58
  };
57
59
  } | {
@@ -61,7 +63,6 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
61
63
  plugins: string[][];
62
64
  };
63
65
  modules?: undefined;
64
- localIdentName?: undefined;
65
66
  };
66
67
  })[];
67
68
  } | {
@@ -101,8 +101,10 @@ function default_1(_a) {
101
101
  {
102
102
  loader: cssLoader,
103
103
  options: {
104
- modules: true,
105
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
104
+ modules: {
105
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]',
106
+ namedExport: false
107
+ }
106
108
  }
107
109
  },
108
110
  {
@@ -143,8 +145,10 @@ function default_1(_a) {
143
145
  {
144
146
  loader: cssLoader,
145
147
  options: {
146
- modules: true,
147
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
148
+ modules: {
149
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]',
150
+ namedExport: false
151
+ }
148
152
  }
149
153
  },
150
154
  {
@@ -187,8 +191,10 @@ function default_1(_a) {
187
191
  {
188
192
  loader: cssLoader,
189
193
  options: {
190
- modules: true,
191
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
194
+ modules: {
195
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]',
196
+ namedExport: false
197
+ }
192
198
  }
193
199
  },
194
200
  {