chore: typos (#1670)
This commit is contained in:
committed by
GitHub
parent
2a1b0fc6d7
commit
86187ca907
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user