Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

CPFED-3761 - Removing PFE code and replacing with deps and symlinks - #5

Open
wesruv wants to merge 1 commit into
masterfrom
CPFED-3761-remove-pfe-code-add-as-deps
Open

CPFED-3761 - Removing PFE code and replacing with deps and symlinks#5
wesruv wants to merge 1 commit into
masterfrom
CPFED-3761-remove-pfe-code-add-as-deps

Conversation

@wesruv

@wesruv wesruv commented Jul 13, 2020

Copy link
Copy Markdown
Contributor

No description provided.

.pipe(
replace(
/^(import .*?)(['"]\.\.\/\.\.\/(?!\.\.\/).*)\.js(['"];)$/gm,
/^(import .*?)(['"][\.\.\/]+.*)\.js(['"]; \/\/ \| umd)$/gm,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the regex change so we can use as many ../ as we want, but requires // | umd comment at the end of the line for it to add UMD to the file extension on UMD compilation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants