2.0.2 • Published 6 years ago

makestatic-core-standard v2.0.2

Weekly downloads
51
License
MIT
Repository
github
Last release
6 years ago

Core Standard

Standard lifecycle configuration



Install

yarn add makestatic-core-standard

API

StandardLifeCycle : LifeCycle

Standard lifecycle configuration for the core library.

This standard configuration is used by the command line interface.

Configures the lifecycle with standard plugins for these phases:

  • clean: Adds the clean-output plugin.
  • build: Adds the http-cache plugin.
  • load: Adds the sources-loader plugin.
  • pack: Adds the pack-webpack plugin unless pack is false.
  • resolve: Adds the resolve-file plugin.
  • emit: Adds the emit-gzip plugin if gzip is true.
  • manifest: Adds the manifest plugin if manifest is true.
  • write: Adds the write-file plugin.
  • deploy: Adds the deploy-site plugin if a provider is given.

Plugins are merged with any existing definitions in the lifecycle so as not to conflict with user-defined lifecycle configurations for the phases that are modified however the plugins configured here take precedence in terms of execution order. In practice, due to the nature of the lifecycle execution the plugin order should not make any difference to the result as a plugin can only be guaranteed a previous plugin has completed execution if it exists in a preceeding phase.

See Also

StandardLifeCycle : LifeCycle

new StandardLifeCycle(options)

Create a StandardLifeCycle.

  • options Object configuration options.

.getLifeCycleConfig

StandardLifeCycle.prototype.getLifeCycleConfig(opts, argv)

Configures various plugins for the lifecycle phases.

Returns lifecycle configuration map.

  • opts Object map of computed options.
  • argv Object configuration overrides.

License

MIT


Created by mkdoc on March 12, 2017

2.0.2

6 years ago

2.0.1

6 years ago

1.0.54

7 years ago

1.0.53

7 years ago

1.0.52

7 years ago

1.0.51

7 years ago

1.0.50

7 years ago

1.0.49

7 years ago

1.0.48

7 years ago

1.0.47

7 years ago

1.0.46

7 years ago

1.0.45

7 years ago

1.0.44

7 years ago

1.0.43

7 years ago

1.0.42

7 years ago

1.0.41

7 years ago

1.0.40

7 years ago

1.0.39

7 years ago

1.0.38

7 years ago

1.0.37

7 years ago

1.0.36

7 years ago

1.0.35

7 years ago

1.0.34

7 years ago

1.0.33

7 years ago

1.0.32

7 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago