Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 788 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 788 Bytes

Parcel Surplus Plugin

A parcel plugin to compile your Surplus JSX views.

Build Status JavaScript Style Guide

Usage

$ npm install --save-dev parcel-plugin-surplus

example

For TypeScript users

To work with TypeScript it's necessary to add in your tsconfig.json the jsxFactory prop:

{
  "compilerOptions": {
    ...
    "jsx": "preserve",
    "jsxFactory": "Surplus",
  }
}