Skip to content

Commit

Permalink
Remove appendExtension option from vue-loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelian committed Apr 7, 2021
1 parent 5cd3368 commit 3e26a19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions bin/TypeScriptBuildEngine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/TypeScriptBuildEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ export class TypeScriptBuildEngine {
loader: this.vueLoaderPath,
ident: 'vue',
options: {
transformAssetUrls: {}, // remove <img> src and SVG <image> xlink:href resolution
appendExtension: true
transformAssetUrls: {} // remove <img> src and SVG <image> xlink:href resolution
}
}]
};
Expand Down
2 changes: 1 addition & 1 deletion templates/vue/client/js/vue-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function convertElementAttributesToPropsMap(el: Element): Record<string, string>
* @param factory
* @param configure
*/
export function renderAsyncComponent(tag: string, factory: VueAsync, configure?: ConfigureVueApp) {
export function renderAsyncComponent(tag: string, factory: VueAsync, configure?: ConfigureVueApp): void {
const ac = Vue.defineAsyncComponent(factory);
const elements = document.getElementsByTagName(tag);

Expand Down

0 comments on commit 3e26a19

Please sign in to comment.