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 +1 -1
- package/webpack.config.js +3 -1
package/package.json
CHANGED
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
|
-
|
|
67
|
+
process.cwd(),
|
|
66
68
|
'node_modules/@formatjs/intl-relativetimeformat/locale-data',
|
|
67
69
|
),
|
|
68
70
|
},
|