UNPKG
phenomic
Version:
latest (0.21.3)
0.21.3
0.21.2
0.21.1
0.21.0
0.20.4
0.20.3
0.20.2
0.20.1
0.20.0
0.19.5
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.1
0.18.0
0.17.12
0.17.11
0.17.10
0.17.9
0.17.8
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.0
0.14.2
0.14.1
0.14.0
0.13.0
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.0.0
Modern website generator based on the React and Webpack ecosystem.
phenomic.io
MoOx/phenomic
phenomic
/
src
/
loader-plugin-init-raw-property-from-content
/
index.js
15 lines
(12 loc)
•
182 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// @flow
export
default
( { result, frontMatter, }: PhenomicLoaderPluginInput )
: PhenomicCollectionItem =
> {
return
{ ...result, raw: frontMatter.orig, } }