-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
feat(rust): add output.sourceMapFilename core #3005
feat(rust): add output.sourceMapFilename core #3005
Conversation
|
5e0f7b6
to
1ef383e
Compare
1bbf5c0
to
0c50070
Compare
General looks good to me, ready to merge after rebase |
28156f6
to
eeeda76
Compare
eeeda76
to
e2a9fe3
Compare
have rebase main branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Related issue (if exists)
#2938
Summary
Manage the output path of source map files
https://webpack.js.org/configuration/output/#outputsourcemapfilename
🤖 Generated by Copilot at 0cf70ca
This pull request adds a new option
sourceMapFilename
to therspack
configuration file, which allows users to customize the filename of the source map files generated by therspack_plugin_devtool
plugin. It implements this option in therspack_core
,rspack_binding_options
,rspack_plugin_devtool
, andrspack_testing
crates, and updates the JSON schema and typescript types for therspack
configuration file. It also makes some minor code improvements and updates thepackage.json
file.Walkthrough
🤖 Generated by Copilot at 0cf70ca
source_map_filename
option to therspack
configuration file and therspack_core
crate to allow users to configure the output filename of the source map files generated by therspack_plugin_devtool
plugin (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)[file]
placeholder syntax for thesource_map_filename
option to support the original filename in the template, similar towebpack
(link, link)devtool
option and thepublic_path
option in therspack_plugin_devtool
plugin to handle different modes and paths for the source map files (link)..Default::default()
syntax for theAssetInfo
struct initialization in therspack_plugin_asset
,rspack_plugin_copy
, andrspack_plugin_html
plugins to improve the code readability and maintainability (link, link, link, link)source-map
feature in thewebpack-test
directory (link, link)