Skip to content

How to guarantee external lib is included by Gulp? #88

Answered by objerke
heberleh asked this question in Q&A
Discussion options

You must be logged in to vote

If I remember, the react example was written as a quick one off to show that you can use react in your mod. I think it only can load commonJs from the node_modules folder as this line in the gulpfile suggests. I would look at the react package in node_modules and try to mimic the way it exposes its internals.

In general I would not recommend starting new mods from the prototypes folder, as the name suggests they are not polished in any way.
Good luck!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@heberleh
Comment options

@heberleh
Comment options

Comment options

You must be logged in to vote
1 reply
@heberleh
Comment options

Answer selected by heberleh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants