Skip to content

wontoncc/rollup-plugin-surplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-surplus

A rollup plugin for compiling Surplus JSX views.

How to install

> npm install --save-dev rollup-plugin-surplus

How to use

Specify suplus() in the plugins property of your config.

Simple example:

// rollup.config.js
import surplus from 'rollup-plugin-surplus';
import resolve from 'rollup-plugin-node-resolve';

export default {
    entry: 'main.js',
    dest: 'dist/main.js',
    format: 'iife',
    plugins: [
        surplus(),
        resolve({ extensions: ['.js', '.jsx'] })
    ]
};

About

Use Surplus JSX with rollup.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%