Switch to webpack

This commit is contained in:
ochafik 2023-03-25 19:30:34 +00:00
commit 4b11073437
17 changed files with 238 additions and 69 deletions

View file

@ -4,9 +4,11 @@
<meta charset="utf-8" />
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/BrowserFS/2.0.0/browserfs.min.js" defer></script> -->
<script src="%PUBLIC_URL%/browserfs.min.js"></script>
<script src="./browserfs.min.js" defer></script>
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<script src="./index.js" defer></script>
<link rel="icon" href="../public/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
@ -16,9 +18,9 @@
name="description"
content="OpenSCAD Playground: edit .scad models and render them to STL from the browser (WebAssembly build OpenSCAD, with Monaco editor and STL Viewer)"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="logo192.png" />
<!-- https://developers.google.com/web/fundamentals/web-app-manifest/ -->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.