Rocketact

Rocketact

  • Docs
  • GitHub

›Plugins

Getting Started

  • Getting Started
  • Folder Structure
  • Available Scripts
  • Supported Browsers and Features
  • Custom Templates

Development

  • Managing Dependencies
  • Adding Pages
  • Adding Stylesheets
  • Post-Processing CSS
  • Adding Images
  • Http proxy

Deployment

  • Public Path

Plugins

  • What is the plugin?
  • rocketact-plugin-polyfill
  • rocketact-plugin-bundle-analyzer
  • Plugin template
  • Awesome Plugins
Edit

Plugin template

Here is a simple plugin template:

module.exports = api => {
  api.chainWebpack(webpackChain => {
    // Modify the webpack configuration to your needs
  });

  api.registerCommand("commandName", () => {
    // Implementation detail
  })
};
Last updated on 5/3/2019 by loveky
← rocketact-plugin-bundle-analyzerAwesome Plugins →
Rocketact
Docs
Getting Started
Community
User ShowcaseIssues
More
GitHubStar
Copyright © 2018-present Rocketact documentation authors.