/parcel-plugin-lightscript

MIRROR: main repo at https://git.sr.ht/~chee/parcel-plugin-lightscript

Primary LanguageJavaScript

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