mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
feat(cli): add ignore directives to bundled code (#13309)
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually.
This commit is contained in:
parent
62291e9b0e
commit
50e8ab8a86
7 changed files with 44 additions and 3 deletions
|
@ -285,6 +285,7 @@ async fn op_emit(
|
|||
emit::BundleOptions {
|
||||
bundle_type: bundle.into(),
|
||||
ts_config,
|
||||
emit_ignore_directives: true,
|
||||
},
|
||||
)?;
|
||||
let mut files = HashMap::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue