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; -});