samrith-s / parcel-plugin-structurize

A plugin to customize the output (dist) directory structure during production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnhandledPromiseRejectionWarning: SyntaxError: Invalid regular expression: /\/: \ at end of pattern

IsaacHub opened this issue · comments

While building I got the following warning in the console:

(node:24764) UnhandledPromiseRejectionWarning: SyntaxError: Invalid regular expression: /\/: \ at end of pattern
    at new RegExp (<anonymous>)

function isRemote(url, condition = /^(https?:)?\/\//) {

Build is completed though.

Thank you for this. I will have a look into this the coming weekend.

Could you provide some info on the version of Node and Parcel you are using?

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Some solution?

@carscx If you could provide me with a reproducible repository, I'll be more than happy to look into it.