Wednesday, 12 April 2017

How can I let Sublime Text 3 run export/import?

The version of my sublime text is 3126.

I wanna to use Ctri+b to run the javascript,so I create a new build system setting to run js based on nodejs like this:

{
    "cmd": ["node", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.js"
}

But import and export is not avaliabel in nodejs-v6(6.10.2).

What should I do? How to change the setting?

Thanks all for help me!



via MOONLIGHTV

No comments:

Post a Comment