From 4e1b4a76276bc45ccaa928c7a6b2a361973d2ac3 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Wed, 14 Aug 2019 14:14:47 -0700 Subject: [PATCH] Inject script tag in to prevent elm from removing it. --- generator/src/develop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/src/develop.js b/generator/src/develop.js index c4c6f380..9904680d 100644 --- a/generator/src/develop.js +++ b/generator/src/develop.js @@ -46,7 +46,7 @@ function webpackOptions(routes) { entry: "./index.js", mode: "development", plugins: [ - new HTMLWebpackPlugin({}), + new HTMLWebpackPlugin({ inject: "head" }), new CopyPlugin([ { from: "static/**/*",