From f7b42b3ee4362251082a8f2435035d80caf9a6a5 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Tue, 4 Oct 2022 10:13:52 -0700 Subject: [PATCH] chore: update readme (#6471) * chore: update readme * chore: fix readme --- scripts/package/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/package/README.md b/scripts/package/README.md index b4f0cf3b8..6140edfef 100644 --- a/scripts/package/README.md +++ b/scripts/package/README.md @@ -49,16 +49,16 @@ import * as Blockly from 'blockly/core'; #### Blockly built in blocks ```js -import 'blockly/blocks'; +import * as libraryBlocks from 'blockly/blocks'; ``` #### Blockly Generators If your application needs to generate code from the Blockly blocks, you'll want to include a generator. ```js -import 'blockly/python'; +import {pythonGenerator} from 'blockly/python'; ``` -to include the Python generator, you can also import ``blockly/javascript``, ``blockly/php``, ``blockly/dart`` and ``blockly/lua``. +to include the Python generator. You can also import `{javascriptGenerator} from 'blockly/javascript'`, `{phpGenerator} from 'blockly/php'`, `{dartGenerator} from 'blockly/dart'` and `{luaGenerator} from 'blockly/lua'`. #### Blockly Languages