Skip to content

Commit

Permalink
Integrate new web app build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Nov 2, 2023
1 parent 79ceaa0 commit b66c396
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/dist/
index.php
electron-builder.env
node_modules/
node_modules/
js/bundle.js
workbox-*.js
service_worker.js
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<script src="lib/molang.umd.js"></script>
<script src="lib/wintersky.umd.js"></script>

<script src="js/webpack/bundle.js"></script>
<script src="js/bundle.js"></script>
<script src="js/preview/OrbitControls.js"></script>
<script src="js/util/util.js"></script>
<script src="js/util/math_util.js"></script>
Expand Down
1 change: 0 additions & 1 deletion js/webpack/bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion service_worker.js

This file was deleted.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js',
path: PathModule.resolve(__dirname, 'js', 'webpack')
path: PathModule.resolve(__dirname, 'js')
},
module: {
rules: [
Expand Down
Loading

0 comments on commit b66c396

Please sign in to comment.