We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c23c63a commit baa6dd2Copy full SHA for baa6dd2
site/package.json
@@ -4,7 +4,7 @@
4
"description": "Docs and examples for Svelte",
5
"scripts": {
6
"dev": "npm run copy-workers && sapper dev",
7
- "copy-workers": "rm -rf static/workers && cp -r node_modules/@sveltejs/svelte-repl/workers static",
+ "copy-workers": "node scripts/copy-workers.js",
8
"migrate": "node-pg-migrate -r dotenv/config",
9
"sapper": "npm run copy-workers && sapper build --legacy",
10
"update": "node scripts/update_template.js && node scripts/get-contributors.js && node scripts/update_whos_using.js",
site/scripts/copy-workers.js
@@ -0,0 +1,4 @@
1
+const sh = require('shelljs');
2
+
3
+sh.rm('-rf', 'static/workers');
+sh.cp('-r', 'node_modules/@sveltejs/svelte-repl/workers', 'static');
0 commit comments