Hi, I'm going to load a module below:
var lunrMutable = require('lunr-mutable-indexes');
But I don't know how to load this module correctly.
My steps is load a single file /lunr-mutable-indexes/lunr-mutable.js
But it is failed. The problem is this module is not a single file, besides it would load another module inside it. For example it would load lunr module.
require() is a node.js-specific thing I think. There's a standard (ECMAScript) replacement called "import" but Jurassic doesn't support that either :-(
Hi, I'm going to load a module below:
var lunrMutable = require('lunr-mutable-indexes');
But I don't know how to load this module correctly. My steps is load a single file /lunr-mutable-indexes/lunr-mutable.js But it is failed. The problem is this module is not a single file, besides it would load another module inside it. For example it would load lunr module.