gatsby-8.x-1.x-dev/gatsby.libraries.yml
gatsby.libraries.yml
# @file
# Custom asset libraries for the Gatsby module.
# The preview button's CSS is split off so that it can be loaded regardless of
# whether the sidebar or separate-window options is used for the preview.
open_preview_css:
version: VERSION
css:
theme:
css/open_preview.css: {}
# Controls loading the preview into a separate window.
open_preview_window:
version: VERSION
js:
js/open_preview_window.js: {}
dependencies:
- gatsby/open_preview_css
# Loads Gatsby-hosted content in an iframe.
iframe_preview:
version: VERSION
css:
theme:
css/iframe_preview.css: {}
