chore: typos (#1670)

This commit is contained in:
Necmettin Karakaya
2020-08-15 05:05:12 +08:00
committed by GitHub
parent 2a1b0fc6d7
commit 86187ca907
5 changed files with 7 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ export interface SFCTemplateCompileOptions {
*/
preprocessCustomRequire?: (id: string) => any
/**
* Configure what tags/attributes to trasnform into asset url imports,
* Configure what tags/attributes to transform into asset url imports,
* or disable the transform altogether with `false`.
*/
transformAssetUrls?: AssetURLOptions | AssetURLTagConfig | boolean

View File

@@ -5,7 +5,7 @@ const defaultExportRE = /((?:^|\n|;)\s*)export(\s*)default/
const namedDefaultExportRE = /((?:^|\n|;)\s*)export(.+)as(\s*)default/
/**
* Utility for rewriting `export default` in a script block into a varaible
* Utility for rewriting `export default` in a script block into a variable
* declaration so that we can inject things into it
*/
export function rewriteDefault(