@bigbinary/neeto-commons-frontend 3.5.3 → 3.5.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.
@@ -34,7 +34,8 @@ const commonOptions = {
34
34
  minSize: 5000, // 5kb uncompressed
35
35
  cacheGroups: {
36
36
  bigBinary: {
37
- test: /[\\/]node_modules[\\/](?:@bigbinary)[\\/]/,
37
+ // Excluded neetoEditor to support async chunk load.
38
+ test: /[\\/]node_modules[\\/](?:@bigbinary)[\\/](?!neeto-editor)/,
38
39
  priority: 5,
39
40
  name(module) {
40
41
  const matches = module.context.match(
@@ -70,7 +71,10 @@ const commonOptions = {
70
71
  name: "npm-common",
71
72
  priority: 10,
72
73
  },
73
- npmRest: { test: /[\\/]node_modules[\\/]/, name: "npm-rest" },
74
+ npmRest: {
75
+ test: /[\\/]node_modules[\\/](?!@bigbinary[\\/]neeto-editor)/, // Excludes neetoEditor
76
+ name: "npm-rest",
77
+ },
74
78
  },
75
79
  },
76
80
  },
@@ -34,7 +34,8 @@ const commonOptions = {
34
34
  minSize: 5000, // 5kb uncompressed
35
35
  cacheGroups: {
36
36
  bigBinary: {
37
- test: /[\\/]node_modules[\\/](?:@bigbinary)[\\/]/,
37
+ // Excluded neetoEditor to support async chunk load.
38
+ test: /[\\/]node_modules[\\/](?:@bigbinary)[\\/](?!neeto-editor)/,
38
39
  priority: 5,
39
40
  name(module) {
40
41
  const matches = module.context.match(
@@ -70,7 +71,10 @@ const commonOptions = {
70
71
  name: "npm-common",
71
72
  priority: 10,
72
73
  },
73
- npmRest: { test: /[\\/]node_modules[\\/]/, name: "npm-rest" },
74
+ npmRest: {
75
+ test: /[\\/]node_modules[\\/](?!@bigbinary[\\/]neeto-editor)/, // Excludes neetoEditor
76
+ name: "npm-rest",
77
+ },
74
78
  },
75
79
  },
76
80
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "3.5.3",
3
+ "version": "3.5.4",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",