refactor(workflows): generate workflow manager via HtmlWebpackPlugin

Change-Id: I50a6aba661bee2fabd634b6bf13d4a60459acc14
diff --git a/src/bg.js b/src/bg.js
index fce2328..789be62 100644
--- a/src/bg.js
+++ b/src/bg.js
@@ -109,7 +109,7 @@
 
     case 'openWorkflowsManager':
       chrome.tabs.create({
-        url: chrome.runtime.getURL('options/workflows.html'),
+        url: chrome.runtime.getURL('workflows.html'),
       });
       break;
 
diff --git a/src/static/options/workflows.html b/src/features/workflows/templates/workflows.html.ejs
similarity index 86%
rename from src/static/options/workflows.html
rename to src/features/workflows/templates/workflows.html.ejs
index 72cfe41..8f24c67 100644
--- a/src/static/options/workflows.html
+++ b/src/features/workflows/templates/workflows.html.ejs
@@ -14,6 +14,5 @@
   </head>
   <body>
     <wf-app></wf-app>
-    <script src="/workflowManager.bundle.js" async defer="defer"></script>
   </body>
 </html>
diff --git a/src/options/optionsCommon.js b/src/options/optionsCommon.js
index 6d41a39..246616a 100644
--- a/src/options/optionsCommon.js
+++ b/src/options/optionsCommon.js
@@ -172,7 +172,7 @@
     manageWorkflowsBtn.addEventListener('click', e => {
       e.preventDefault();
       chrome.tabs.create({
-        url: chrome.runtime.getURL('options/workflows.html'),
+        url: chrome.runtime.getURL('workflows.html'),
       })
     });