You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An array of source paths in your project where the plugin should look for files
Example: ['src/lib', 'src/foo']
By default, resolve files from working dir
include
A map of module=>path/to/file.js with custom module paths. Used to override the search with a static path (like Browserify does with the "browser" config).
Use this option if you want to skip the file resolution and directly resolve a module name to a given path.
Example:
include: {// Import example: import angular from 'angular';'angular': 'bower_components/angular/angular.js'}
external
An array of module names that should be excluded from the bundle (external modules).
By default, all the node built-in modules will be marked as external.
To include the built-ins, you can use the builtins plugin and set this config to an empty array.
Example:
// will not include the module 'angular' in the final bundle
external: ['angular']
extensions
An array of file extensions to look for in the project.
Default: ['.js', '.json']
About
Rollup plugin to allow relative include paths in project files