rollup-plugin-external-paths

0.0.3-alpha • Public • Published

rollup-plugin-exclude-paths

Let you use paths in exclude.

Setup

In your rollup config

import excludePaths from 'rollup-plugin-exclude-paths';
 
 
export default {
    entry: './app.js',
    format: 'cjs',
    dest: 'public/app.min.js',
    plugins: [ excludePaths({
      dir: './src', // exclude all the ./src path
    }) ],
};

Options

dir '' | ['']

An array of paths that the plugin should exclude from resolution.

Example: ['./src/no-chunk1', 'src/no-chunk2']

Package Sidebar

Install

npm i rollup-plugin-external-paths

Weekly Downloads

3

Version

0.0.3-alpha

License

MIT

Unpacked Size

6 kB

Total Files

4

Last publish

Collaborators

  • alfredo.salzillo