Open ChristianIvicevic opened 5 years ago
@ChristianIvicevic there is also another issue with source-map:
Error: Unknown module 'fs'
fs (imported by node_modules/source-map/lib/read-wasm.js, commonjs-external:fs)
path (imported by node_modules/source-map/lib/read-wasm.js, commonjs-external:path)
@ChristianIvicevic there is also another issue with source-map:
Error: Unknown module 'fs'
fs (imported by node_modules/source-map/lib/read-wasm.js, commonjs-external:fs) path (imported by node_modules/source-map/lib/read-wasm.js, commonjs-external:path)
Same issue here. Had to remove the usage of ErrorMapper in main.ts....
The new source-map
module is async only, so can't work with screeps. It needs to be pinned to =0.6.1
, which is the last version that was not async.
Are there any plans to update this package properly to the newest versions of the various dependencies? By doing so manually I noticed the following issues:
source-map
MUST stay at 0.6.1 for theErrorMapper
to work sinceSourceMapConsumer
has been slightly reworked.rollup
to 1.0.0 will yield some deprecation warnings: