Skip to content

Commit 7956cb0

Browse files
authored
Update esbuild version in README (#60)
1 parent 4f5bbf4 commit 7956cb0

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ in dev:
1313
```elixir
1414
def deps do
1515
[
16-
{:esbuild, "~> 0.5", runtime: Mix.env() == :dev}
16+
{:esbuild, "~> 0.7", runtime: Mix.env() == :dev}
1717
]
1818
end
1919
```
@@ -24,7 +24,7 @@ then it only needs to be a dev dependency:
2424
```elixir
2525
def deps do
2626
[
27-
{:esbuild, "~> 0.5", only: :dev}
27+
{:esbuild, "~> 0.7", only: :dev}
2828
]
2929
end
3030
```
@@ -33,7 +33,7 @@ Once installed, change your `config/config.exs` to pick your
3333
esbuild version of choice:
3434

3535
```elixir
36-
config :esbuild, version: "0.14.41"
36+
config :esbuild, version: "0.18.6"
3737
```
3838

3939
Now you can install esbuild by running:
@@ -60,7 +60,7 @@ directory, the OS environment, and default arguments to the
6060

6161
```elixir
6262
config :esbuild,
63-
version: "0.14.41",
63+
version: "0.18.6",
6464
default: [
6565
args: ~w(js/app.js),
6666
cd: Path.expand("../assets", __DIR__)
@@ -82,7 +82,7 @@ First add it as a dependency in your `mix.exs`:
8282
def deps do
8383
[
8484
{:phoenix, github: "phoenixframework/phoenix", branch: "v1.5", override: true},
85-
{:esbuild, "~> 0.5", runtime: Mix.env() == :dev}
85+
{:esbuild, "~> 0.7", runtime: Mix.env() == :dev}
8686
]
8787
end
8888
```
@@ -92,7 +92,7 @@ Now let's change `config/config.exs` to configure `esbuild` to use
9292

9393
```elixir
9494
config :esbuild,
95-
version: "0.14.41",
95+
version: "0.18.6",
9696
default: [
9797
args: ~w(js/app.js --bundle --target=es2016 --outdir=../priv/static/assets),
9898
cd: Path.expand("../assets", __DIR__),
@@ -134,7 +134,7 @@ to add them to your application:
134134
directory and `esbuild` will be able to automatically
135135
pick them up:
136136

137-
import topbar from "topbar"
137+
import topbar from "topbar"
138138

139139
## CSS
140140

0 commit comments

Comments
 (0)