This is just a small test script to support this issue.
The fails.js
script fails and the works.js
script works. To run both in development:
npm run fails
and npm run works
. To run them for production first run: npm run build
and then:
node dist/fails.js
and node dist/works.js
.
- Providing
require
to the global can help - Providin
require
only helps, if theCesiumTerrainProvider
is not created in its own modules top level scope (seealsoFails.js
)