Update src/compiler/compile/index.ts

pull/7914/head
Ben McCann 4 years ago committed by GitHub
parent 83b0997f83
commit 8e1c34cd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,7 +86,7 @@ function validate_options(options: CompileOptions, warnings: Warning[]) {
if (css === true || css === false) { if (css === true || css === false) {
options.css = css === true ? 'injected' : 'external'; options.css = css === true ? 'injected' : 'external';
const message = `options.css as a boolean is deprecated. Use "${options.css}" instead of ${css}.`; const message = `options.css as a boolean is deprecated. Use '${options.css}' instead of ${css}.`;
warnings.push({ warnings.push({
code: 'options-css-boolean-deprecated', code: 'options-css-boolean-deprecated',
message, message,

Loading…
Cancel
Save