New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@locker/rollup-plugin

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/rollup-plugin

Rollup plugin to compile Locker

0.10.4-test.2
Version published
Weekly downloads
205
-47.44%
Maintainers
3
Weekly downloads
 
Created

Locker Rollup Plugin

Rollup plugin to compile Locker

Installation

yarn add --dev @locker/rollup-plugin

Usage

// rollup.config.js
import rollupPlugin from '@locker/rollup-plugin';

export default {
    input: './src/main.js',
    plugins: [rollupPlugin()],
};

Options

  • rootDir (string, optional, default: input directory) - set the module directory
  • sourcemap (boolean, optional, default: false) - make the LWC compiler produce source maps
  • modulesOnly (boolean, optional, default: false) - only compile ES6 module files, as opposed to all *.js files.

FAQs

Package last updated on 06 May 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