@openedx/frontend-base 1.0.0-alpha.3 → 1.0.0-alpha.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.
@@ -72,5 +72,9 @@ const config = {
72
72
  // This configures webpack-dev-server which serves bundles from memory and provides live
73
73
  // reloading.
74
74
  devServer: (0, common_config_1.getDevServer)(),
75
+ // Limit the number of watched files to avoid `inotify` resource starvation.
76
+ watchOptions: {
77
+ ignored: /node_modules/
78
+ }
75
79
  };
76
80
  exports.default = config;
@@ -106,5 +106,9 @@ const config = {
106
106
  // This configures webpack-dev-server which serves bundles from memory and provides live
107
107
  // reloading.
108
108
  devServer: (0, common_config_1.getDevServer)(),
109
+ // Limit the number of watched files to avoid `inotify` resource starvation.
110
+ watchOptions: {
111
+ ignored: /node_modules/
112
+ }
109
113
  };
110
114
  exports.default = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/frontend-base",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "Build tools, setup and config for frontend apps",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/runtime/index.ts CHANGED
@@ -110,6 +110,11 @@ export {
110
110
  useAppConfig
111
111
  } from './react';
112
112
 
113
+ export {
114
+ getUrlByRouteRole,
115
+ isRoleRouteObject
116
+ } from './routing';
117
+
113
118
  export {
114
119
  clearAllSubscriptions,
115
120
  publish,
@@ -72,5 +72,9 @@ const config = {
72
72
  // This configures webpack-dev-server which serves bundles from memory and provides live
73
73
  // reloading.
74
74
  devServer: (0, common_config_1.getDevServer)(),
75
+ // Limit the number of watched files to avoid `inotify` resource starvation.
76
+ watchOptions: {
77
+ ignored: /node_modules/
78
+ }
75
79
  };
76
80
  exports.default = config;
@@ -106,5 +106,9 @@ const config = {
106
106
  // This configures webpack-dev-server which serves bundles from memory and provides live
107
107
  // reloading.
108
108
  devServer: (0, common_config_1.getDevServer)(),
109
+ // Limit the number of watched files to avoid `inotify` resource starvation.
110
+ watchOptions: {
111
+ ignored: /node_modules/
112
+ }
109
113
  };
110
114
  exports.default = config;