fix: mistakes

This commit is contained in:
KernelDeimos 2024-08-29 22:08:09 -04:00 committed by Eric Dubé
parent 4b8910169a
commit 3092300a01
2 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ class PuterHomepageService extends BaseService {
}
<!-- Load the GUI script -->
<script src="/dist/gui.bundle.js"></script>
<script src="/dist/bundle.min.js"></script>
<!-- Initialize GUI when document is loaded -->
<script type="module">
window.addEventListener('load', function() {

View File

@ -1,6 +1,6 @@
const path = require('path');
const EmitPlugin = require('./EmitPlugin.cjs');
module.exports = (options) => {
module.exports = (options = {}) => {
const config = {};
config.entry = [
'./src/init_sync.js',
@ -15,7 +15,7 @@ module.exports = (options) => {
];
config.output = {
path: path.resolve(__dirname, '../dist'),
filename: 'gui.bundle.js',
filename: 'bundle.min.js',
};
config.plugins = [
EmitPlugin({