You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for putting together the work around.
I am having, still some difficulties, getting my project out of this CRA source directories jail.
Wondering if you could take a look and see if there is something easy to fix.
My initial problem is due to not being able to use symlinks under src to share code with my react-native project facebook/create-react-app#4295
Here is the override file I am trying to use
config.overrides.dev.js
const path = require('path');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const paths = require('./paths');
module.exports = function(config) {
config.resolve.symlinks= true;
// my console.log do not get printed
// tried to modify the parameters to the module scope plugin -- does not work
let myPath='C:\\Users\\v\\home\\devel\\mine\\commonlibrary_src';
let myModuleScopePlugin= new ModuleScopePlugin(paths.appSrc,
[paths.appPackageJson,
myPath]);
config.resolve.Xplugins.unshift(myModuleScopePlugin);
//tried to remove the plugin all together -- does not work, either
//config.resolve.plugins.splice[0,0];
}
Thank you for putting together the work around.
I am having, still some difficulties, getting my project out of this CRA source directories jail.
Wondering if you could take a look and see if there is something easy to fix.
My initial problem is due to not being able to use symlinks under src to share code with my react-native project
facebook/create-react-app#4295
Here is the override file I am trying to use
config.overrides.dev.js
package.json
The text was updated successfully, but these errors were encountered: