hugo/resources/resource_transformers
Bjørn Erik Pedersen 35011bcb26 Add .Defines to js.Build options
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
2020-07-17 19:09:09 +02:00
..
babel Fix Babel on Windows 2020-05-18 16:57:13 +02:00
htesting Add basic "post resource publish support" 2020-04-07 21:59:20 +02:00
integrity Image resource refactor 2019-08-26 15:00:44 +02:00
js Add .Defines to js.Build options 2020-07-17 19:09:09 +02:00
minifier Some minify configuration adjustments 2020-03-20 20:35:57 +01:00
postcss Rename transpileJS to babel 2020-04-29 10:51:33 +02:00
templates Revert "resources: Add data context to the key in ExecuteAsTemplate" 2020-03-21 18:38:19 +01:00
tocss/scss resources: Fix scss vs css import regexp 2020-03-17 08:03:25 +01:00