mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
build: electron-webpack replacement (#130)
* some changes * improvements and dedicated webpeck configs for render and main * added debugging setup * vscode main process debug config * vue3 devtools
This commit is contained in:
22
src/renderer/index.ejs
Normal file
22
src/renderer/index.ejs
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title></title>
|
||||
<script>
|
||||
global = globalThis
|
||||
</script>
|
||||
<% if (htmlWebpackPlugin.options.nodeModules) { %>
|
||||
<script>
|
||||
require('module').globalPaths.push(
|
||||
`<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>`
|
||||
)
|
||||
</script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<!-- webpack builds are automatically injected -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user