Closed strogonoff closed 4 years ago
fixed, it dosen't looks like the best practice though. this file was intended for require map file for nodejs environment.
require("interscript/maps")[system]
Without try catch, It's not working with react cuz "fs" is one of core modules of nodejs. I was trying to figure it out to determine the enviroment with no luck. The solution will eliminate try catch statement. It's a temporary. Let me improve it in the future. @strongonoff welcome to your suggestion
Getting the following when a React-static site that has
interscript
as dependency is generated: