- Added types to
struct
property. - Added
mark
option to set a particular section of memory as used. - Loaders use
mark
option to prevent memory class from using global variables set by the emscripten environment. - Accepted PR #11 to allow webworker support.
- A few minor improvements made to the loader scripts.
- Fixed a few nodeJS specific errors.
- Fixed undefined function error.
- Fixed NodeJS error.
- Added check for nodejs builds.
- Fixed emccArgs bug.
- The C file is no longer copied to a temporary directory, allowing it to reference other files in the project.
- Readme updates.
- Now supports emscripten complete environments. They take up WAY more space but provide complete feature support. The feature is enabled with the new config option
fullEnv
. - Changed config options to make more sense:
noWasm
is nowwasm
and works the opposite of before.loadAsmjs
is nowasmjs
and works just as before.disableMemoryClass
is nowmemoryClass
and works the opposite of before.
- Fixed an issue with loader options.
- Added
raw
property to promise result, contains the complete returned value from the webassembly initialization. - Added
asm.js
support. You can now optionally include asm.js code in the bundle that will be loaded in the place of webassembly if webassembly isn't available. Allows native code to work back to IE10. - Added a
noWasm
option to omit Webassembly from builds entirely. - Changed
externalWasm
option tofetchFiles
, works on bothasmjs
andwasm
code now.
- A few small bugfixes.
- Added README stuff.
- Added fallback to
instantiate
ifinstantiateStreaming
isn't available. - Removed more code if
disableMemoryClass
is enabled. - Added
externalWasm
option to allow switching between embedding the wasm into javascript or delivering it separately.
- Added
struct
ability to memory class. - Added
disableMemoryClass
option to webpack config.
- Restored
publicPath
option. - Added MIT license text to README.
- Fixed build error.
- EMCC flags are adjusted based on webpack production/development mode.
- Updated Readme to reflect new package location.
- Started changelog.
- Merged cpp-min-wasm-loader into this project.
- Added code to prevent feature regression.