mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix not building peerjs for web runtime (#6758)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5,6 +5,7 @@ Extensions/PhysicsBehavior/box2djs/* linguist-vendored
|
||||
Extensions/Physics2Behavior/box2d.js linguist-vendored
|
||||
Extensions/BBText/pixi-multistyle-text/* linguist-vendored
|
||||
Extensions/P2P/A_peer.js linguist-vendored
|
||||
Extensions/Multiplayer/peer.js linguist-vendored
|
||||
Extensions/Shopify/shopify-buy.umd.polyfilled.min.js linguist-vendored
|
||||
Extensions/TileMap/pako/* linguist-vendored
|
||||
Extensions/TileMap/pixi-tilemap/* linguist-vendored
|
||||
|
@@ -9,7 +9,17 @@ const extensionsRuntimePath = path.join(gdevelopRootPath, 'Extensions');
|
||||
const gdjsRuntimePath = path.join(gdjsRootPath, 'Runtime');
|
||||
|
||||
// The extensions to be included in the bundled Runtime (will be built with esbuild or copied).
|
||||
const allowedExtensions = ['.js', '.ts', '.tsx', '.html', '.json', '.xml', '.map', '.wasm', '.txt'];
|
||||
const allowedExtensions = [
|
||||
'.js',
|
||||
'.ts',
|
||||
'.tsx',
|
||||
'.html',
|
||||
'.json',
|
||||
'.xml',
|
||||
'.map',
|
||||
'.wasm',
|
||||
'.txt',
|
||||
];
|
||||
|
||||
// These extensions will be built with esbuild (the other will be copied).
|
||||
const transformIncludedExtensions = ['.js', '.ts', '.tsx'];
|
||||
@@ -40,6 +50,7 @@ const untransformedPaths = [
|
||||
'Extensions/DialogueTree/bondage.js/dist',
|
||||
'Extensions/Effects/pixi-filters',
|
||||
'Extensions/P2P/A_peer.js',
|
||||
'Extensions/Multiplayer/peer.js',
|
||||
'Extensions/ParticleSystem/pixi-particles-pixi-renderer.min.js',
|
||||
'Extensions/Physics2Behavior/box2d.js',
|
||||
'Extensions/PhysicsBehavior/box2djs',
|
||||
|
@@ -49,6 +49,7 @@
|
||||
"Extensions/Effects/pixi-filters/filter-alpha.js",
|
||||
"SharedLibs/TileMapHelper/**/*",
|
||||
"Extensions/Spine/pixi-spine/pixi-spine.js",
|
||||
"Extensions/P2P/A_peer.js"
|
||||
"Extensions/P2P/A_peer.js",
|
||||
"Extensions/Multiplayer/peer.js"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user