Closed decibelko closed 2 years ago
Hi, AMD loading seems to be broken when using requirejs. I'm trying to load module via require() call.
require()
This might fix it: in scripts\buildUMD.ts change define(['fflate',f]) -> define([],f) or simply define(f) because of no dependencies
define(['fflate',f])
define([],f)
define(f)
Great little lib! Many thanks for it
Will fix in the next release, I've never used AMD so I didn't know this. Thanks for the bug report!
Fixed in v0.7.2.
Hi, AMD loading seems to be broken when using requirejs. I'm trying to load module via
require()
call.This might fix it: in scripts\buildUMD.ts change
define(['fflate',f])
->define([],f)
or simplydefine(f)
because of no dependenciesGreat little lib! Many thanks for it