Initial commit
This commit is contained in:
22
node_modules/maplibre-gl/build/rollup/maplibregl.js
generated
vendored
Normal file
22
node_modules/maplibre-gl/build/rollup/maplibregl.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// Our custom intro provides a specialized "define()" function, called by the
|
||||
// AMD modules below, that sets up the worker blob URL and then executes the
|
||||
// main module, storing its exported value as 'maplibregl'
|
||||
|
||||
// The three "chunks" imported here are produced by a first Rollup pass,
|
||||
// which outputs them as AMD modules.
|
||||
|
||||
// Shared dependencies
|
||||
import '../../staging/maplibregl/shared';
|
||||
|
||||
// Worker and its unique dependencies
|
||||
// When this wrapper function is passed to our custom define() in build/rollup/bundle_prelude.js,
|
||||
// it gets stringified, together with the shared wrapper (using
|
||||
// Function.toString()), and the resulting string of code is made into a
|
||||
// Blob URL that gets used by the main module to create the web workers.
|
||||
import '../../staging/maplibregl/worker';
|
||||
|
||||
// Main module and its dependencies
|
||||
import '../../staging/maplibregl/index';
|
||||
|
||||
export default maplibregl;
|
||||
Reference in New Issue
Block a user