Open mlzboy opened 8 months ago
@mlzboy Maybe try version 1.0.0 of the plugin (here)
@mlzboy Maybe try version 1.0.0 of the plugin (here)
Sorry, I didn't read carefully enough and didn't realize that you want to use unpkg
. I don't think that you can use unpkg
with v1.0.0 of the plugin. Your best bet, I think, would be to update your Blockly app to use the Blockly v10.
I use your code build a codepen version,https://codepen.io/mlzboy/pen/qBwXQRB,It's all right,but it depends on newest version blockly,and my project was base on blockly v9.2.1,how to build lexical-variable-plugin for specific version blockly? I had try to modify package.json
make "@blockly/dev-scripts": "^1.2.27", "@blockly/dev-tools": "^5.2.4", the version lower,then use
npm run prepublishOnly
to build dist/index.js,and put this file on codepen,make a demo for v9.2.1,https://codepen.io/mlzboy/pen/jORaBwd,but this not work,throw error as bellows