Closed perguth closed 7 years ago
It seems like the javascript version of the closure compiler already supports webpack, so there is no need for the plugin
Right now, we just include blockly with script tags. I opened an issue in the blockly project. I think we just leave it like it is right now until we find a better solution.
Blockly uses the module system of the google closure compiler. There are existing bundles but they are either outdated or don't work. Including the javascript files directly with script tags is not an option (at least not with budo). There exists a loader for webpack which has support for closure modules: https://www.npmjs.com/package/webpack-closure-compiler. My proposed solution is to create our own blockly repo which bundles everything toghether with webpack.