From d211b2cdc73b8ab707ac2972eca0148ba8c9e972 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Fri, 3 Oct 2025 13:07:52 -0700 Subject: [PATCH] chore: Clean up blockly-react script. --- examples/blockly-react/postinstall.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 examples/blockly-react/postinstall.js diff --git a/examples/blockly-react/postinstall.js b/examples/blockly-react/postinstall.js deleted file mode 100644 index e241701c6..000000000 --- a/examples/blockly-react/postinstall.js +++ /dev/null @@ -1,11 +0,0 @@ -const fs = require('fs'); - -// e.g. node_modules/blockly/index.js -const blocklyIndex = require.resolve('blockly'); - -// Get the media directory instead of the index -const mediaPath = blocklyIndex.replace('index.js', 'media'); - -fs.cp(mediaPath, './public/media', {recursive: true}, (err) => { - if (err) throw err; -});