swico 2.0.0-beta.22 → 2.0.0-beta.23

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.22",
3
+ "version": "2.0.0-beta.23",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -58,7 +58,7 @@
58
58
  "ts-node": "10.9.1",
59
59
  "vue-loader": "17.4.2",
60
60
  "vue-router": "4.5.0",
61
- "vue-style-loader": "^4.1.3",
61
+ "vue-style-loader": "4.1.3",
62
62
  "webpack-bundle-analyzer": "4.9.1",
63
63
  "webpack-merge": "6.0.1",
64
64
  "webpackbar": "7.0.0"
@@ -50,9 +50,8 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
50
50
  use: (string | {
51
51
  loader: string;
52
52
  options: {
53
- modules: {
54
- localIdentName: string;
55
- };
53
+ modules: boolean;
54
+ localIdentName: string;
56
55
  postcssOptions?: undefined;
57
56
  };
58
57
  } | {
@@ -62,6 +61,7 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
62
61
  plugins: string[][];
63
62
  };
64
63
  modules?: undefined;
64
+ localIdentName?: undefined;
65
65
  };
66
66
  })[];
67
67
  } | {
@@ -101,9 +101,8 @@ function default_1(_a) {
101
101
  {
102
102
  loader: cssLoader,
103
103
  options: {
104
- modules: {
105
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
106
- }
104
+ modules: true,
105
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]'
107
106
  }
108
107
  },
109
108
  {
@@ -144,9 +143,8 @@ function default_1(_a) {
144
143
  {
145
144
  loader: cssLoader,
146
145
  options: {
147
- modules: {
148
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
149
- }
146
+ modules: true,
147
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]'
150
148
  }
151
149
  },
152
150
  {
@@ -189,9 +187,8 @@ function default_1(_a) {
189
187
  {
190
188
  loader: cssLoader,
191
189
  options: {
192
- modules: {
193
- localIdentName: 'moduleStyle_[local]_[contenthash:8]'
194
- }
190
+ modules: true,
191
+ localIdentName: 'moduleStyle_[local]_[contenthash:8]'
195
192
  }
196
193
  },
197
194
  {