- roc-package-base-dev
- roc-package-web-app-dev
- roc-package-webpack-dev
- roc-package-webpack-node-dev
- roc-plugin-assets-images
- roc-plugin-start
- roc-plugin-style-css
Hook point for adding code that runs after the clean command is invoked.
Initial value: Nothing
Expected return value: Nothing
Hook point for adding code that runs before the clean command is invoked.
Initial value: Nothing
Expected return value: [String]
Use to add things that should react to the build command being called.
Initial value: Nothing
Expected return value: Function
Name | Description | Type |
---|---|---|
targets | The targets to build for, will be based on settings or a possible argument if defined. | [String] |
Use to add things that should react to the dev command being called.
Initial value: Nothing
Expected return value: Nothing
Name | Description | Type |
---|---|---|
targets | The targets use for dev, will be based on settings or a possible argument if defined. | [String] |
Initial value: Nothing
Expected return value: Nothing
Used to create the final Webpack configuration object.
Initial value: {}
Expected return value: {}
Name | Description | Type |
---|---|---|
target | The target for which the Webpack configuration should be build for. | String |
Used to add watchers that should follow a specific format.
Initial value: {}
Expected return value: {Function}
Used to inform which targets that should be considered as Webpack targets. Actions should concat the previousValue to build the complete value.
Initial value: []
Expected return value: [String]
Used to react to when the development server has started.
Initial value: Nothing
Expected return value: Nothing
Name | Description | Type |
---|---|---|
serverProcess | The created server process. |
Used for adding additional image loaders.
Important that the actions return an array with loaders or a single loader
Initial value: Nothing
Expected return value: {} / [{}]
Use to define for what target that it should try to find a resource for to start with.
Initial value: "node"
Expected return value: String
Use to add paths that should be resolved before starting an application.
Initial value: Nothing
Expected return value: String / [String]
Can be used to modify the runtime before an application starts.
Initial value: Nothing
Expected return value: Nothing
Used for adding additional style loaders.
Important that the actions return an object matching the following:
{ extensions: String/[String], loaders: String/[String] }
Initial value: Nothing
Expected return value: {String / [String]}