Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
Gruntfile.js
README.md
package.json

README.md

source-map

NOTE: Source mapping is currently in beta release only

An example that uses grunt-starlight to precompile a Lua script into a JavaScript file with associated source map.

See this example online at: http://paulcuth.me.uk/starlight/source-map-example

Running locally

Navigate to the source-map directory in a terminal, then install dependencies and build:

npm install
npm start

This will compile /src/script/app.lua to /dist/script/app.lua.js and /dist/script/app.lua.js.map, and then serve the result at http://127.0.0.1:8080. Follow instructions on page to step through your code in the browser.