Skip to content

A Rollup plugin that allows for the replacement of dependencies with external dependencies without requiring users to manually mark them as external through the 'external' option.

License

Notifications You must be signed in to change notification settings

oscarmarina/rollup-plugin-externalize-source-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-total-bundlesize

A Rollup plugin that allows for the replacement of dependencies with external dependencies without requiring users to manually mark them as external through the 'external' option.


Installation

npm install @blockquote/rollup-plugin-externalize-source-dependencies

Usage

import externalizeSourceDependencies from '@blockquote/rollup-plugin-externalize-source-dependencies';

export default {
  entry: 'index.js',
  plugins: [
    externalizeSourceDependencies([
      /* @web/test-runner-commands needs to establish a web-socket
       * connection. It expects a file to be served from the
       * @web/dev-server. So it should be ignored by Vite */
      '/__web-dev-server__web-socket.js',
    ]),
  ],
};

License

MIT

About

A Rollup plugin that allows for the replacement of dependencies with external dependencies without requiring users to manually mark them as external through the 'external' option.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published