-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
After including the plugin like:
conf.resolve.plugins.push(
new ModuleScopePlugin(APP_SOURCE_PATH, [COMMON_MODULE_SOURCE_PATH, NODE_MODULES])
);But CRA will throw:
Module not found: Error: You attempted to import /some-folder/node_modules/some-package/some-file.js
which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.
Ildorado, FranzSw, alfondotnet and jordoh
Metadata
Metadata
Assignees
Labels
No labels