-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The deleteSourceMaps
execute too early?
#3570
Comments
Jayatubi
changed the title
The
The Dec 29, 2023
deleteSourceMaps
execute too early.deleteSourceMaps
execute too early?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When run the npm command
npm run package
it calls./.erb/scripts/clean.js
first which would remove the entire dist folder. Then in thewebpack.config.renderer.prod.ts
thisdeleteSourceMaps
call would do nothing.However, after the above process a new .js.map would be generated in the new dist folder.
Does the
deleteSourceMaps
suppose to be called AFTER the new dist content generated?https://github.com/electron-react-boilerplate/electron-react-boilerplate/blob/83b826fa9d810e26da7b5f17b4ed543e5f52bb17/.erb/configs/webpack.config.renderer.prod.ts#L19C10-L19C10
The text was updated successfully, but these errors were encountered: