php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

using es6 "import" or "require" in custom script

Open kuoliangkwong opened this issue 7 years ago • 0 comments

I tried use es6 "import" in custom script, and it says syntax error. So i tried "require", but phantomjs task just stuck and not loading. Any clue? Does custom script support importing another js file?

kuoliangkwong avatar Jan 06 '18 07:01 kuoliangkwong