swico 2.0.0-beta.3 → 2.0.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.0.0-beta.3",
3
+ "version": "2.0.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",
@@ -13,6 +13,11 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
13
13
  };
14
14
  target: string[];
15
15
  module: {
16
+ parser: {
17
+ 'css/auto': {
18
+ namedExports: boolean;
19
+ };
20
+ };
16
21
  rules: ({
17
22
  test: RegExp;
18
23
  exclude: RegExp;
@@ -55,6 +55,11 @@ function default_1({ projectPath, entryPath, env, customConfig }) {
55
55
  },
56
56
  target: ['web', 'es5'],
57
57
  module: {
58
+ parser: {
59
+ 'css/auto': {
60
+ namedExports: false
61
+ }
62
+ },
58
63
  rules: [
59
64
  {
60
65
  test: /\.(tsx|ts|jsx)$/,
@@ -10,6 +10,11 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
10
10
  };
11
11
  target: string[];
12
12
  module: {
13
+ parser: {
14
+ 'css/auto': {
15
+ namedExports: boolean;
16
+ };
17
+ };
13
18
  rules: ({
14
19
  test: RegExp;
15
20
  loader: string;
@@ -54,6 +54,11 @@ function default_1({ projectPath, entryPath, env, customConfig }) {
54
54
  },
55
55
  target: ['web', 'es5'],
56
56
  module: {
57
+ parser: {
58
+ 'css/auto': {
59
+ namedExports: false
60
+ }
61
+ },
57
62
  rules: [
58
63
  {
59
64
  test: /\.vue$/,