ko 6.6.5-beta.1 → 6.6.5

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/lib/cli.js CHANGED
File without changes
@@ -7,18 +7,16 @@ declare const loaders: (opts: IWebpackOptions) => (false | {
7
7
  };
8
8
  } | {
9
9
  test: RegExp;
10
- use: ({
10
+ use: {
11
11
  loader: string;
12
- } | {
12
+ }[];
13
+ exclude?: undefined;
14
+ } | {
15
+ test: RegExp;
16
+ exclude: (input: string) => boolean;
17
+ use: {
13
18
  loader: string;
14
- options: {
15
- esModule: boolean;
16
- modules: {
17
- namedExport: boolean;
18
- localIdentName: string;
19
- };
20
- };
21
- })[];
19
+ }[];
22
20
  } | {
23
21
  test: RegExp;
24
22
  loader: string;
@@ -27,5 +25,47 @@ declare const loaders: (opts: IWebpackOptions) => (false | {
27
25
  inline: string;
28
26
  };
29
27
  use?: undefined;
28
+ } | {
29
+ test: RegExp;
30
+ include: (input: string) => boolean;
31
+ use: ({
32
+ loader: string;
33
+ options: {
34
+ presets: (string | {
35
+ useAbsoluteRuntime: boolean;
36
+ })[][];
37
+ plugins: ((string | {
38
+ libraryName: string;
39
+ libraryDirectory: string;
40
+ style: string;
41
+ })[] | (string | {
42
+ libraryName: string;
43
+ libraryDirectory: string;
44
+ camel2DashComponentName: string;
45
+ })[])[];
46
+ babelrc: boolean;
47
+ configFile: boolean;
48
+ cacheIdentifier: string;
49
+ cacheDirectory: boolean;
50
+ cacheCompression: boolean;
51
+ compact: boolean;
52
+ };
53
+ } | {
54
+ loader: string;
55
+ options: {
56
+ name: string;
57
+ loader?: undefined;
58
+ target?: undefined;
59
+ };
60
+ } | {
61
+ loader: string;
62
+ options: {
63
+ loader: string;
64
+ target: string;
65
+ name?: undefined;
66
+ };
67
+ })[];
68
+ loader?: undefined;
69
+ options?: undefined;
30
70
  } | undefined)[];
31
71
  export default loaders;
@@ -35,6 +35,9 @@ class Script {
35
35
  else if (input.includes('antlr4ng')) {
36
36
  return true;
37
37
  }
38
+ else if (input.includes('immer')) {
39
+ return true;
40
+ }
38
41
  else if (input.includes('node_modules')) {
39
42
  return false;
40
43
  }
@@ -9,32 +9,10 @@ declare class Style {
9
9
  private opts;
10
10
  constructor(opts: IWebpackOptions);
11
11
  get config(): (false | {
12
- test: RegExp;
13
- use: ({
14
- loader: string;
15
- } | {
16
- loader: string;
17
- options: {
18
- esModule: boolean;
19
- modules: {
20
- namedExport: boolean;
21
- localIdentName: string;
22
- };
23
- };
24
- })[];
25
- } | {
26
- test: RegExp;
27
- use: {
28
- loader: string;
29
- }[];
30
- exclude: RegExp;
31
- include?: undefined;
32
- } | {
33
12
  test: RegExp;
34
13
  use: {
35
14
  loader: string;
36
15
  }[];
37
- include: RegExp;
38
16
  exclude?: undefined;
39
17
  } | {
40
18
  test: RegExp;
@@ -42,7 +20,6 @@ declare class Style {
42
20
  use: {
43
21
  loader: string;
44
22
  }[];
45
- include?: undefined;
46
23
  } | undefined)[];
47
24
  get sassCssModuleConfig(): {
48
25
  test: RegExp;
@@ -24,12 +24,6 @@ class Style {
24
24
  {
25
25
  test: /\.css$/,
26
26
  use: [this.styleLoader, this.cssLoader, this.postCSSLoader],
27
- exclude: /node_modules/,
28
- },
29
- {
30
- test: /\.css$/,
31
- use: [this.styleLoader, this.cssLoader],
32
- include: /node_modules/,
33
27
  },
34
28
  {
35
29
  test: /\.s[ac]ss$/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko",
3
- "version": "6.6.5-beta.1",
3
+ "version": "6.6.5",
4
4
  "description": "build & lint library",
5
5
  "keywords": [
6
6
  "ko",