Socket
Book a DemoInstallSign in
Socket

rollup-plugin-livescript

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-livescript

Rollup plugin for LiveScript

0.1.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

rollup-plugin-livescript

Installation

$ npm install --save-dev rollup-plugin-livescript

Usage

Bare example:

const livescript = require('rollup-plugin-livescript');
import commonjs from '@rollup/plugin-commonjs';
import builtins from 'rollup-plugin-node-builtins';
import resolve from '@rollup/plugin-node-resolve';

export default {
  input: 'app/app.ls',
  output: {
    file: 'bundle.js',
    format: 'iife'
  },
  plugins: [
    livescript(),
    // commonjs before bultins      
    commonjs({ 
        extensions: ['.js', '.ls']
        }), // import commonjs from 'rollup-plugin-commonjs';
    builtins(), //  import builtins from 'rollup-plugin-node-builtins';
    resolve({ 
        extensions: ['.js', '.ls'] 
        }),
    ]
};

This software is licensed under the GPLv3 or later Copyright (c) TANIGUCHI Masaya All Right Reserved.

Keywords

livescript

FAQs

Package last updated on 12 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.