Closed loncar closed 9 years ago
There is already some inbuilt utility, maybe the example is a bit misleading (it's really just an example). See: https://github.com/dcodeIO/MetaScript#built-in-utility
Have you tried include(...)
instead?
Thanks for quick answer, i didn't use include
. I was too tired for reading and it didn't catch my eye. It's working now with include
:+1: Thanks again and sorry for the false alarm.
Hi, I have been trying to import file like in your example :
After runnig metascript I get this exception : ...has no method 'split' in meta program of 'main.js':
metascript main.js > main.prod.js
There has been some issues with installation of metascript, after npm command metascript didn't work. I have to run apt-get install nodejs-legacy to make it work. I don't know if those two things are connected.
Thanks