mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 13:38:50 -05:00
35011bcb26
This is needed to import `react` as a library, e.g.: ``` {{ $jsx := resources.Get "index.jsx" }} {{ $options := dict "defines" (dict "process.env.NODE_ENV" "\"development\"") }} {{ $js := $jsx | js.Build $options }} ``` Fixes #7489 |
||
---|---|---|
.. | ||
build.go | ||
build_test.go |