Npm install webpack webpack-cli -save-dev # Install webpack and ts-loader in the user home directory Sudo apt install npm # may already be installed Please note that some of the packages will be installed to the local users home directory! After executing the commands you will find a newly created folder named "node_modules". The following instructions will install the required packages. LabelMgr.labelScreen("Hello world", 400, 550, true, 100, "#66ccff") Ĭore.debug(" + Control Stellarium with Typescript!")Ĭore.debug(" + Keep your sanity whilst working with ECMA script")Ĭore.debug(" + get a onscreen display of bug messages")įor (var i=0 i 3.0) is needed for transpiling the typescript source code into ECMAScript and Webpack is required for bundling it into a single file. Description: A demonstrational script for tramnspiling typescript to stellarium Here is how a minimalistic example of Stellarium Typescript code looks like:
0 Comments
Leave a Reply. |