Migrate from webpack to esbuild

This commit is contained in:
Adrian Kumpf
2021-09-22 22:07:14 +02:00
parent 7c0dc3b870
commit 70468ea762
30 changed files with 433 additions and 4148 deletions
+5 -8
View File
@@ -5,14 +5,11 @@ config :teslamate, TeslaMateWeb.Endpoint,
code_reloader: true,
check_origin: false,
watchers: [
node: [
"node_modules/webpack/bin/webpack.js",
"--mode",
"development",
"--stats-colors",
"--watch",
"--watch-options-stdin",
cd: Path.expand("../assets", __DIR__)
npm: [
"run",
"deploy",
cd: Path.expand("../assets", __DIR__),
env: %{"NODE_ENV" => "development"}
]
],
live_reload: [