remove unused condition
remove unused condition and resolved error where fileurl path was not correctly resolved for package.json "main", "browser" and "module" definitions
remove unused condition and resolved error where fileurl path was not correctly resolved for package.json "main", "browser" and "module" definitions