Skip to content

Commit

Permalink
Adjust bundle position
Browse files Browse the repository at this point in the history
  • Loading branch information
signorpipo committed Apr 18, 2024
1 parent dfac727 commit 6aef062
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion wle_pp/wle_pp/dev/bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ esbuild.build({
sourcemap: true,
minify: false,
format: "esm",
outfile: "bundle/bundle.js",
outfile: "bundle/pp/bundle.js",
plugins: [nodeExternalsPlugin()]
});
7 changes: 0 additions & 7 deletions wle_pp/wle_pp_bundle/bundle/bundle.js.map

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22275,8 +22275,12 @@ function initPlugins() {
initWLPlugins();
}

// dist/pp/pp/pp_version.js
var PP_VERSION = "0.6.2";

// dist/pp/pp/init_pp.js
function initPP(engine) {
console.log("PP version: " + PP_VERSION);
Globals.setMainEngine(engine);
ComponentUtils.setDefaultWLComponentCloneCallbacks(engine);
registerWLComponents(engine);
Expand Down
7 changes: 7 additions & 0 deletions wle_pp/wle_pp_bundle/bundle/pp/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wle_pp/wle_pp_bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"webxr"
],
"type": "module",
"main": "./bundle/bundle.js",
"main": "./bundle/pp/bundle.js",
"wonderlandengine": {},
"peerDependencies": {
"@wonderlandengine/api": "^1.1.3",
Expand Down

0 comments on commit 6aef062

Please sign in to comment.