Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Add config to plugin callbacks #156

Merged
merged 1 commit into from
May 19, 2017
Merged

Conversation

Blackbaud-SteveBrush
Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush commented May 18, 2017

This feature provides the skyPagesConfig object to plugin preload and postload hooks.

module.exports = {
  preload: (content, resourcePath, skyAppConfig) => {
    return content;
  }
};

@codecov-io
Copy link

Codecov Report

Merging #156 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #156   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          34     34           
  Lines         694    696    +2     
  Branches       85     85           
=====================================
+ Hits          694    696    +2
Flag Coverage Δ
#builder 100% <100%> (ø) ⬆️
#runtime 100% <ø> (ø) ⬆️
Impacted Files Coverage Δ
loader/sky-processor/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d84fcc...ce5d6ab. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants