Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 363 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 363 Bytes

parcel-plugin-lightscript

an example parcel plugin for loading lightscript

usage

$ yarn add parcel-plugin-lightscript babel-preset-lightscript

create a .babelrc and add 'lightscript' to the presets

example:

{
  "presets": ["lightscript"]
}

then import an lsc file, or <script src= it in your index.html

and hooray your legs off