You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I hope to generate the 3 bundle files (for inclusion as a "classic" Javascript, while the Pixi.js, jQuery, DataTables.net, Leaflet.js are included via links to CDN) by calling:
parcel build --target bundle-main
parcel build --target bundle-top
parcel build --target bundle-player
However the files are not concatenated to a single file - and some of them are just empty:
Could someone please help me with my package.json file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good evening,
I have developed and maintain a multiplayer word game, since maybe 8-10 years:
The backend for the game is a Maven project producing a servlet, written in Java.
And the Javascript files are just printed by the Java code - here a VS Code screenshot:
I would like to modernize the frontend part of my application by concatenating and minifying the JavaScript files.
In my application there are 3 types of web pages:
I would like to use parcel to generate:
I have tried to create the following package.json, but of course it does not work yet:
And I hope to generate the 3 bundle files (for inclusion as a "classic" Javascript, while the Pixi.js, jQuery, DataTables.net, Leaflet.js are included via links to CDN) by calling:
However the files are not concatenated to a single file - and some of them are just empty:
Could someone please help me with my package.json file?
I have also asked my question at Stackoverflow.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions