Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lib script 'load npm' #219

Merged
merged 2 commits into from Jul 22, 2018
Merged

Add lib script 'load npm' #219

merged 2 commits into from Jul 22, 2018

Conversation

@keicoon
Copy link
Contributor

keicoon commented Jul 16, 2018

No description provided.

keicoon added 2 commits Jul 16, 2018
- Make 'node circular module' to 'non circular module' using browserify.
@keicoon keicoon closed this Jul 16, 2018
@keicoon keicoon changed the title Update latest npm path Add lib script 'loadnpm' Jul 16, 2018
@keicoon keicoon changed the title Add lib script 'loadnpm' Add lib script 'load npm' Jul 16, 2018
@keicoon

This comment has been minimized.

Copy link
Contributor Author

keicoon commented Jul 16, 2018

Unreal.js can't support circularly dependency module.
'fancyLoadNpm' Lib script help npm module to change 'non circularly'.
So, Be freely available some npm module 'reinforce-js', '@tensorflow/tfjs'.

Example Code Snippet

const { DQNSolver, DQNOpt, DQNEnv } = require('fancyLoadNpm')('reinforce-js', global);
@keicoon keicoon reopened this Jul 16, 2018
@crocuis crocuis merged commit 9348b31 into ncsoft:master Jul 22, 2018
@crocuis

This comment has been minimized.

Copy link
Contributor

crocuis commented Jul 22, 2018

Good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.