question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for different file extensions

See original GitHub issue

Is there a way to configure the plugin to work inside of files that don’t have the extension of .js (e.g .vue)?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gkosceviccommented, Aug 2, 2017

It worked for me. Here are my settings

"importCost.javascriptExtensions": [
    "\\.js?$"
],
"importCost.typescriptExtensions": [
    "\\.vue$"
]

GREG KOSCEVIC | Engineering 717.841.4995 | www.MyMove.comhttp://www.mymove.com/

[cid:image002.png@01D30B7E.5F0EB2E0]

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, and/or you do not have specific permission from sender, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

From: Isi Robayna notifications@github.com Reply-To: wix/vscode-import-cost reply@reply.github.com Date: Wednesday, August 2, 2017 at 10:53 AM To: wix/vscode-import-cost vscode-import-cost@noreply.github.com Cc: Greg Koscevic gkoscevic@mymove.com, Author author@noreply.github.com Subject: Re: [wix/vscode-import-cost] Support for different file extensions (#7)

@yairhaimohttps://github.com/yairhaimo thanks, I willl!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/wix/vscode-import-cost/issues/7#issuecomment-319697104, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL42QBXot9fPHN1pQWMJv4mI5OhAqyJJks5sUI1sgaJpZM4Oq7JO.

1reaction
gkosceviccommented, Aug 2, 2017

Thanks for the quick response. As a web performance junkie your package is going to be a huge help!

The new configurations are working, but it’s still not evaluating .vue files. I’m thinking it’s something with how Vue single file components are structured? I can open up a separate issue for this if you’d like.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Windows file extensions | Technical Support Services
Common Windows file extensions ;.DIF, Data Interchange format ;.DOC or .DOCX, Microsoft Word for Windows/Word97 ;.EPS, Encapsulated PostScript ;.EXE, PC ...
Read more >
What are the most common file types and file extensions?
There are hundreds of different file extensions and file types used with computers, and you can find a complete list on our computer...
Read more >
Common file name extensions in Windows
Learn what file name extensions are, which extensions are common in Windows, and how to view them in File Explorer.
Read more >
What are the supported file types?
A number of file types are supported in the Widen Collective®. File formats for some assets listed below are supported, meaning they can...
Read more >
Different File Types and When to Use Them
File types include document, image, video, and audio, but they don't stop there. Learn the different types of files and when it's best...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found