File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
binding_minifier_wasm/src Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -684,6 +684,15 @@ export interface JscConfig {
684684 minify?: JsMinifyOptions;
685685
686686 preserveAllComments?: boolean;
687+
688+ output?: {
689+ /**
690+ * This can be used to keep the output ascii-only.
691+ * If this option is set, `minify.format.asciiOnly` will be ignored.
692+ * @default 'utf8'
693+ */
694+ charset?: 'utf8' | 'ascii';
695+ }
687696}
688697
689698export type JscTarget =
Original file line number Diff line number Diff line change @@ -684,6 +684,15 @@ export interface JscConfig {
684684 minify?: JsMinifyOptions;
685685
686686 preserveAllComments?: boolean;
687+
688+ output?: {
689+ /**
690+ * This can be used to keep the output ascii-only.
691+ * If this option is set, `minify.format.asciiOnly` will be ignored.
692+ * @default 'utf8'
693+ */
694+ charset?: 'utf8' | 'ascii';
695+ }
687696}
688697
689698export type JscTarget =
Original file line number Diff line number Diff line change @@ -704,6 +704,15 @@ export interface JscConfig {
704704 minify ?: JsMinifyOptions ;
705705
706706 preserveAllComments ?: boolean ;
707+
708+ output ?: {
709+ /**
710+ * This can be used to keep the output ascii-only.
711+ * If this option is set, `minify.format.asciiOnly` will be ignored.
712+ * @default 'utf8'
713+ */
714+ charset ?: 'utf8' | 'ascii' ;
715+ }
707716}
708717
709718export type JscTarget =
You can’t perform that action at this time.
0 commit comments