richie-education 3.3.2-dev26 → 3.3.2-dev29

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": "richie-education",
3
- "version": "3.3.2-dev26",
3
+ "version": "3.3.2-dev29",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {
package/webpack.config.js CHANGED
@@ -61,8 +61,10 @@ module.exports = (env) => {
61
61
  plugins: [new TsconfigPathsPlugin({})],
62
62
  modules: ['node_modules', ...richieDependentModuleResolutions],
63
63
  alias: {
64
+ // process.cwd() is used instead of __dirname because hoisting may place the package at
65
+ // the consuming project's root node_modules rather than richie's own node_modules.
64
66
  '@formatjs/intl-relativetimeformat/locale-data': path.resolve(
65
- __dirname,
67
+ process.cwd(),
66
68
  'node_modules/@formatjs/intl-relativetimeformat/locale-data',
67
69
  ),
68
70
  },