Update src/compiler/compile/index.ts

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

@ -81,7 +81,7 @@ function validate_options(options: CompileOptions, warnings: Warning[]) {
} }
if (valid_css_values.indexOf(css) === -1) { if (valid_css_values.indexOf(css) === -1) {
throw new Error(`options.css must be true, false, "injected", "external" or "none" (got '${css}')`); throw new Error(`options.css must be true, false, 'injected', 'external', or 'none' (got '${css}')`);
} }
if (css === true || css === false) { if (css === true || css === false) {

Loading…
Cancel
Save