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

Uncompressed version of blockly #20

Open
pantoninho opened this issue Mar 1, 2018 · 4 comments
Open

Uncompressed version of blockly #20

pantoninho opened this issue Mar 1, 2018 · 4 comments

Comments

@pantoninho
Copy link

pantoninho commented Mar 1, 2018

I wrapped the compressed version of Blockly in my own project, but I can't figure how to use the uncompressed version instead.

I've hit a wall with the google-closure-library dependency, and while I was searching the web for answers, I've found your project.

Looking at your code, I've noticed you are also using the compressed files... have you tried using the uncompressed version?

Thank you

@eryckpedro
Copy link

@pantoninho are you having troubles using node js and blockly? I've been trying to use both of them and hit the same wall with the google-closure-library. I'm using the uncompressed files and, to get it working, you need to install both of them via the npm command (or you can copy&paste the folders to the node_modules folder, but be sure to let them named "blockly" and "google-closure-library")

PS: I recommend cloning blockly and adding it manually, because the project workers don't actually manage the npm dependencies to check if it's up to date.

@pantoninho
Copy link
Author

pantoninho commented Mar 8, 2018

@eryckpedro Yes, it has been very hard to get Blockly working with commonjs/npm... It has already crossed my mind to create some code-mod to replace every goog reference...
I'm going to try your solution tomorrow, looks promising!

Thank you

@pantoninho
Copy link
Author

@eryckpedro I think it's pretty much a dead end.. I'm going to try something else: use an offline version of google-closure-compiler..

@eryckpedro
Copy link

@pantoninho TBH that's what I'm using in my project. It seems that when you finish using and creating your files using the uncompressed library, you run a build.py in Blockly's root directory that compresses the modified files you created.

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

No branches or pull requests

2 participants