Javascript file extension must be js(x)
See original GitHub issueIt would be nice to be able to specify the extension used for input files.
Although I get that the standard extension is .js in our case we used .es6 because we are migrating a big project from old js specification to es6 specification (so we have them side by side) and we chose to use that extension.
I think won’t harm to pass that value as an extra argument.
makes sense?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
ReactJS - .JS vs .JSX
It's a convention that you can follow while creating the .jsx or .js files, to logically and physically separate the code. Share.
Read more >Provide a way to add the '.js' file extension to ...
I'm writing in typescript; importing something from a local path in the same project that only contains typescript files. How does appending a...
Read more >JavaScript practices File extensions
JavaScript practices File extensions. Use .js for JavaScript file extensions. Avoid using .jsx . Rationale. Here are a few reasons to avoid the...
Read more >JS file - File Format Docs
JS (JavaScript) are files that contain JavaScript code for execution on web pages. JavaScript files are stored with the .js extension. Inside the...
Read more >JavaScript modules - MDN Web Docs
This guide gives you all you need to get started with JavaScript module ... this article, we've used .js extensions for our module...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey I pulled in a fix for this today! Jsut reopen if its no good. I can’t publish immediately so point to the repo if you need it right this moment
https://github.com/the-simian/es6-plato/blob/master/lib/plato.js#L132
Does this will do the tricks or ts is not handled ?