Not really a bug. L@@king for migration help v 1-2 and webpack/react/saas. #3101
Unanswered
mesh-newbie
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Unfortunately it's difficult to make Y1 and Y2 play together on the same repository, since they use different configuration/lockfile formats. However you should be able to migrate painlessly using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
Wanting to update/migrate Y 1 -> 2 (as it looks/works great 👍🏻)), but doing it on a large older project/repo is proving difficult/impossible because of CRA.
What works: (@imports from the node_folders)
@import "animate-sass/helpers/mixins.scss"; // was @import "../../../../../node_modules/animate-sass/helpers/mixins.scss"
What doesn't work anymore: (sass/css relative urls - 'yarn start')
p { background-image: url('../assets/img/mycoolmap.jpg'); }
Module not found: You attempted to import ../assets/img/mycoolmap.jpg which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
Given that the project is updated by multiple devs, I'm trying to cater for both Y v1 and 2 users (though this might not be possible?). I know this is not a Y problem.. just looking for possible solutions to a project that was CRA in early 2019.
Have considered the following (but not practical) : ( CRA see issue here )
Have exhausted a week on finding answers without success. All alternative suggestions most welcomed 😀
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions