fix: sourcemaps

This commit is contained in:
cha0s 2023-11-30 17:04:09 -06:00
parent 2bb0926c72
commit f41e68d757
4 changed files with 8 additions and 8 deletions

View File

@ -12,11 +12,10 @@
color: #ffffff; color: #ffffff;
} }
</style> </style>
<% if (styleFile) { %> <%= htmlWebpackPlugin.tags.headTags %>
<style data-href="<%= styleFile.href %>"> <% styleFiles.forEach(({content, href}) => { %>
<%= styleFile.content %> <style data-href="<%= href %>"><%= content %></style>
</style> <% }); %>
<% } %>
</head> </head>
<body> <body>
<div id="<%= htmlWebpackPlugin.options.appMountId %>"></div> <div id="<%= htmlWebpackPlugin.options.appMountId %>"></div>

View File

@ -55,13 +55,13 @@
"@flecks/socket": "^2.0.0", "@flecks/socket": "^2.0.0",
"@flecks/user": "^2.0.0", "@flecks/user": "^2.0.0",
"@flecks/web": "^2.0.3", "@flecks/web": "^2.0.3",
"@humus/app": "^2.0.0", "@humus/app": "^2.1.0",
"@humus/bootstrap": "^2.0.0", "@humus/bootstrap": "^2.0.0",
"@humus/combat": "^2.0.0", "@humus/combat": "^2.0.0",
"@humus/core": "^2.0.0", "@humus/core": "^2.0.0",
"@humus/farm": "^2.0.0", "@humus/farm": "^2.0.0",
"@humus/inventory": "^2.0.0", "@humus/inventory": "^2.0.0",
"@humus/universe": "^2.0.0", "@humus/universe": "^2.1.0",
"@inlet/react-pixi": "^6.0.7", "@inlet/react-pixi": "^6.0.7",
"pg": "^8.7.3", "pg": "^8.7.3",
"pg-hstore": "^2.3.4" "pg-hstore": "^2.3.4"

View File

@ -41,6 +41,7 @@
"@flecks/redux": "^2.0.0", "@flecks/redux": "^2.0.0",
"@flecks/socket": "^2.0.0", "@flecks/socket": "^2.0.0",
"@flecks/user": "^2.0.0", "@flecks/user": "^2.0.0",
"@flecks/web": "^2.0.3",
"@humus/inventory": "^2.0.0", "@humus/inventory": "^2.0.0",
"fscreen": "^1.2.0", "fscreen": "^1.2.0",
"react-joystick-component": "^4.0.0" "react-joystick-component": "^4.0.0"

View File

@ -33,7 +33,7 @@
"test.js.map" "test.js.map"
], ],
"dependencies": { "dependencies": {
"@avocado/filters": "^1.0.0", "@avocado/filters": "^3.0.0",
"@avocado/math": "^3.0.0", "@avocado/math": "^3.0.0",
"@avocado/resource": "^3.0.0", "@avocado/resource": "^3.0.0",
"@avocado/s13n": "^3.0.0", "@avocado/s13n": "^3.0.0",