summaryrefslogtreecommitdiff
path: root/cli/ops/runtime_compiler.rs
diff options
context:
space:
mode:
authorjuju <gliheng@live.com>2022-01-12 20:05:06 +0800
committerGitHub <noreply@github.com>2022-01-12 13:05:06 +0100
commit50e8ab8a8630a272e9862f2fb7014107474405c6 (patch)
treef6c070945cc67d6b30506d422cdf23d5cb58babd /cli/ops/runtime_compiler.rs
parent62291e9b0e99406ac7f5a95dc329400f9f966825 (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/ops/runtime_compiler.rs')
-rw-r--r--cli/ops/runtime_compiler.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs
index faa427ae7..50268b7eb 100644
--- a/cli/ops/runtime_compiler.rs
+++ b/cli/ops/runtime_compiler.rs
@@ -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();