Bjørn Erik Pedersen
|
eded9ac2a0
|
resources/js: Simplify options handling
Mostly to minify cache hash breakage.
Updates #7499
|
2020-07-22 10:13:30 +02:00 |
|
Bjørn Erik Pedersen
|
e81aef0a95
|
resources/js: Add es5 build target
|
2020-07-20 22:26:38 +02:00 |
|
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 |
|
Bjørn Erik Pedersen
|
9df98ec49c
|
Add proper Media Type handling in js.Build
See #732
|
2020-07-13 10:56:23 +02:00 |
|
Remko Tronçon
|
2fc3380707
|
Add js.Build asset bundling
Fixes #7321
|
2020-07-13 10:56:23 +02:00 |
|