mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 01:41:15 +00: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 |