References
summary | ||
public |
F useExpress(expressApp: Express, targetToBuild: string, targetToServe: string): MiddlewareInformation Implements the Rollup middleware for a target on an Express app. |
|
public |
F useJimpex(jimpexApp: Jimpex, targetToBuild: string, targetToServe: string): MiddlewareInformation Implements the Rollup middleware for a target on a Jimpex app. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
T ProjextRollupPluginsStats(plugin: string, filepath: string): function |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
T ProviderRegisterMethod(app: Jimple): function |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
T RollupFileDefinition(code: string, map: Object): Object |
|
public |
T RollupFilter(filepath: string): boolean: function |
|
public |
|
|
public |
T RollupStylesheetProcessor(code: string): Promise<StringOrObject, Error>: function |
|
public |
T StringOrObject: string | Object |
|
public |
|
|
public |
E Buffer |
|
public |
|
|
public |
|
|
public |
E Events |
|
public |
E Express |
|
public |
|
|
public |
|
|
public |
|
|
public |
E Jimpex |
|
public |
E Jimple |
|
public |
E Logger |
|
public |
|
|
public |
|
|
public |
|
|
public |
E Projext |
|
public |
E Target |
|
public |
|
|
public |
|
|
public |
|
|
public |
E Targets |
|
public |
|
|
public |
|
abstracts
summary | ||
public abstract |
A helper class for creating configuration files that can be overwritten on implementation. |
version 1.0 |
jimpex
summary | ||
public |
This service overwrites the |
|
public |
This service overwrites the |
|
public |
F rollupFrontendFs(getDirectory: RollupMiddlewareGetDirectory, getFileSystem: RollupMiddlewareGetFileSystem): Provider Generate a |
|
public |
The service provider that once registered on the app container will set
|
plugins
summary | ||
public |
This is a set of utility methods the Projext Rollup plugins use. |
plugins/compression
summary | ||
public |
This is a Rollup plugin that takes all the files that match an specific filter and compress using Gzip. |
|
public |
F compression(options: ProjextRollupCompressionPluginOptions, name: string): ProjextRollupCompressionPlugin Shorthand method to create an instance of ProjextRollupCompressionPlugin. |
plugins/copy
summary | ||
public |
This is a Rollup plugin that copies specific files during the bundling process. |
|
public |
F copy(options: ProjextRollupCopyPluginOptions, name: string): ProjextRollupCopyPlugin Shorthand method to create an instance of ProjextRollupCopyPlugin. |
plugins/css
summary | ||
public |
This is a Rollup plugin for handling CSS stylesheets: Move them into a separated bundle, inject them when the browser loads the app and transform them into strings so they can be used on Node. |
|
public |
F css(options: ProjextRollupCSSPluginOptions, name: string): ProjextRollupCSSPlugin Shorthand method to create an instance of ProjextRollupCSSPlugin. |
plugins/devServer
summary | ||
public |
This a Rollup plugin that runs a dev server for a bundled application. |
|
public |
F devServer(options: ProjextRollupDevServerPluginOptions, name: string): ProjextRollupDevServerPlugin Shorthand method to create an instance of ProjextRollupDevServerPlugin. |
plugins/extraWatch
summary | ||
public |
F extraWatch(files: Array, name: string): Object This is a Rollup plugin that allows the building process to watch additional files that may not be included on the entry point in order to restart the process. |
plugins/moduleReplace
summary | ||
public |
|
|
public |
F moduleReplace(options: *, name: *) |
plugins/nodeRunner
summary | ||
public |
This is a Rollup plugin that takes care of executing the bundled Noded app after the build is generated. |
|
public |
F nodeRunner(options: ProjextRollupNodeRunnerPluginOptions, name: string): ProjextRollupNodeRunnerPlugin Shorthand method to create an instance of ProjextRollupNodeRunnerPlugin. |
plugins/runtimeReplace
summary | ||
public |
This is a Rollup plugin that works as a wrapper for |
|
public |
F runtimeReplace(definitionsFn: Function():Object, name: string): ProjextRollupRuntimeReplacePlugin Shorthand method to create an instance of ProjextRollupRuntimeReplacePlugin |
plugins/stats
summary | ||
public |
This is a Rollup plugin that shows stats on the files generated and/or copied. |
|
public |
F stats(options: ProjextRollupStatsPluginOptions, name: string): ProjextRollupStatsPlugin Shorthand method to create an instance of ProjextRollupStatsPlugin. |
plugins/stylesheetAssets
summary | ||
public |
This is Rollup helper plugin for ProjextRollupStylesheetAssetsPlugin that wraps CSS code being exported by ES modules so it can be found and fixed. |
|
public |
This is a Rollup plugin that reads stylesheets and CSS blocks on JS files in order to find paths for files relative to the styles original definition file, then it copies them to the a given directory and fixes the URL on the stylesheet/CSS block. |
|
public |
F stylesheetAssetsHelper(options: ProjextRollupStylesheetAssetsHelperPluginOptions, name: string): ProjextRollupStylesheetAssetsHelperPlugin Shorthand method to create an instance of ProjextRollupStylesheetAssetsHelperPlugin. |
|
public |
F stylesheetAssets(options: ProjextRollupStylesheetAssetsPluginOptions, name: string): ProjextRollupStylesheetAssetsPlugin Shorthand method to create an instance of ProjextRollupStylesheetAssetsPlugin. |
plugins/stylesheetModulesFixer
summary | ||
public |
This is a Rollup plugin that replaces the default export statements of stylesheet modules with the CSS modules local names. |
|
public |
F stylesheetModulesFixer(options: ProjextRollupStylesheetModulesFixerPluginOptions, name: string): ProjextRollupStylesheetModulesFixerPlugin Shorthand method to create an instance of ProjextRollupStylesheetModulesFixerPlugin. |
plugins/template
summary | ||
public |
This is a Rollup plugin that generates an HTML file and injects a given list of scripts and stylesheets. |
|
public |
F template(options: ProjextRollupTemplatePluginOptions, name: string): ProjextRollupTemplatePlugin Shorthand method to create an instance of ProjextRollupTemplatePlugin. |
plugins/urls
summary | ||
public |
This is a Rollup plugin that find files matching a filter, copy them and replace their code on the bundle with an export with a URL for the file. |
|
public |
F urls(options: ProjextRollupURLsPluginOptions, name: string): ProjextRollupURLsPlugin Shorthand method to create an instance of ProjextRollupURLsPlugin. |
plugins/windowAsGlobal
summary | ||
public |
This is a Rollup plugin that inserts a single line of code on the bundle in order to make
|
|
public |
Shorthand method to create an instance of ProjextRollupWindowAsGlobalPlugin. |
services/building
summary | ||
public |
This service reads the targets information and generates what would be the contents of a Rollup configuration file for them. |
|
public |
This build engine is in charge of generating the CLI commands and the configuration to bundle a target using Rollup. |
|
public |
The service provider that once registered on the app container will set an instance of
|
|
public |
The service provider that once registered on the app container will set an instance of
|
services/configurations
summary | ||
public |
Creates the specifics of a Rollup configuration for a browser target development build. |
|
public |
Creates the specifics of a Rollup configuration for a browser target production build. |
|
public |
Creates the specifics of a Rollup configuration for a Node target development build. |
|
public |
Creates the specifics of a Rollup configuration for a Node target production build. |
|
public |
This service creates a configuration with all the settings for the plugins this build engine uses. |
|
public |
The service provider that once registered on the app container will set an instance of
|
|
public |
The service provider that once registered on the app container will set an instance of
|
|
public |
The service provider that once registered on the app container will set an instance of
|
|
public |
The service provider that once registered on the app container will set an instance of
|
|
public |
The service provider that once registered on the app container will set an instance of
|
services/server
summary | ||
public |
This service creates, configures and manages an Express-like middleware for bundling Rollup. |
|
public |
The service provider that once registered on the app container will set an instance of
|