diff options
author | juju <gliheng@live.com> | 2022-01-12 20:05:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 13:05:06 +0100 |
commit | 50e8ab8a8630a272e9862f2fb7014107474405c6 (patch) | |
tree | f6c070945cc67d6b30506d422cdf23d5cb58babd /cli/main.rs | |
parent | 62291e9b0e99406ac7f5a95dc329400f9f966825 (diff) |
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.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs index d8e4c4a70..d1fda4727 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -732,6 +732,7 @@ fn bundle_module_graph( emit::BundleOptions { bundle_type: emit::BundleType::Module, ts_config, + emit_ignore_directives: true, }, ) } |