Комментарии:
Do you know if theres a way to use alias with @ symbol in parcel so I can import components like import Card from '@/components/ui/card' ?
Ответитьas beginner to parcel facing an issue please try to help me out ,
According to documentation
Parcel automatically generates sourcemaps by default ,
Fine, it is generating .map files in dist folder but when in i write console.log in my source code or any error thrown from my source file . These message display in the browser console but they still pointing to build files like index.abcderf.js rather than my source file index.js :disappointed:.
So please tell me Is there any way so that console statment or errors maps to my source code file not to build file present in dist folder of parcel?
As a beginner to parcel facing an issue please try to help me out ,
According to parcel documentation
Parcel automatically generates sourcemaps by default ,
Fine, it is generating .map files in dist folder but when in i write console.log in my source code or any error thrown from my source file . These message display in the browser console but they still pointing to build files like index.abcderf.js rather than my source file index.js :disappointed:.
So please tell me Is there any way so that console statment or errors maps to my source code file not to build file present in dist folder of parcel?
Hey, parcel only build if I save index.html. If i save index.js there is no build and no hot reload. Any idea how to fix it?
ОтветитьReally helpful tutorial man, thanks alot :)))))
ОтветитьHey Thanks for the concise and clean tutorial. Can you tell us how you would get around the ReactDOM.render being no longer supported as of React 18? I can't find any simple instructions on how to use the "createRoot" for the new API
ОтветитьWow! Newcomer to Parcel here and it seems like a great tool for improving the developer experience when creating React apps. Those blazing fast hot-reload and build times really do super-charge the 'inner dev loop'. Thanks for sharing.
ОтветитьI'm new, sorry for the question, parcel 2 is no longer available globally?
ОтветитьHi, any idea why autoprefixer won't work? I did some flex scss and it won't show with vendor prefixes in compiled css in dist folder. Thank you.
ОтветитьAwesome tutorial, !!... but i have a question, everytime i need bundle my code, parcel is making copy of my files inside the "dist" folder, just like your folder "dist" in the video, .. so does parcel provides some way or some "plugin", to clean the "dist" folder before rebuild code ?
ОтветитьAny code examples on setting up Parcel 2 with React and React Testing Library?
Ответитьstart a react next js series
Ответить