Open vinnitu opened 2 years ago
Hello.
What to do if code use es6?
Like this
import { readFileSync } from 'fs'; console.log(JSON.parse(readFileSync('package.json')));
Right now, the entry point has to be a JS script, but it’s conceivable to add support for ES6 modules here. After the entry point, ES6 modules can be used regardless.
Hello.
What to do if code use es6?
Like this