@thenick775/mgba-wasm 2.5.0-beta.1 → 2.5.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +0,0 @@
1
- import createMGBA from './mgba.js';
2
-
3
- import wasmUrl from './mgba.wasm?url';
4
- import dataUrl from './mgba.data?url';
5
-
6
- export default (options = {}) =>
7
- createMGBA({
8
- locateFile: (path, prefix) => {
9
- if (path === 'mgba.wasm') return wasmUrl;
10
- if (path === 'mgba.data') return dataUrl;
11
- return prefix + path;
12
- },
13
- ...options,
14
- });