-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the offline version for Python, C/C++, Java
- Loading branch information
1 parent
954016e
commit 1ee4739
Showing
19 changed files
with
639 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineConfig } from 'vite'; | ||
|
||
export default defineConfig({ | ||
build: { | ||
outDir: 'src/modules/workers', | ||
emptyOutDir: false, | ||
lib: { | ||
entry: 'src/modules/workers/pythonOfflineWorker.ts', | ||
formats: ['iife'], | ||
fileName: 'pythonWorkerBundle', | ||
name: 'PythonWorker', | ||
} | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "icp-bundle", | ||
"private": false, | ||
"version": "0.2.4", | ||
"version": "0.2.6", | ||
"author": "Luca De Menego <[email protected]>", | ||
"files": [ | ||
"dist/" | ||
|
@@ -28,7 +28,9 @@ | |
"dev": "vite", | ||
"build": "gulp", | ||
"prepare-cpp": "gulp prepareCpp", | ||
"build-all": "gulp prepareCpp; gulp --language full; gulp --language java; gulp --language cpp; gulp --language standard-ml; gulp --language javascript; gulp --language p5-and-processing; gulp --language typescript; gulp --language python; gulp --language sql; gulp --language java-offline; gulp --language python-offline; gulp --language cpp-offline; gulp --language full-offline", | ||
"prepare-python": "gulp preparePython", | ||
"prepare-java": "gulp prepareJava", | ||
"build-all": "gulp prepareCpp; gulp preparePython; gulp prepareJava; gulp --language full; gulp --language java; gulp --language cpp; gulp --language standard-ml; gulp --language javascript; gulp --language p5-and-processing; gulp --language typescript; gulp --language python; gulp --language sql; gulp --language java-offline; gulp --language python-offline; gulp --language cpp-offline; gulp --language full-offline", | ||
"preview": "vite preview", | ||
"check": "svelte-check --tsconfig ./tsconfig.json", | ||
"github-cdn": "npx gh-pages -d dist" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.