mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 14:03:42 +00:00
fix: mistakes
This commit is contained in:
parent
4b8910169a
commit
3092300a01
@ -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() {
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user