-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bootstrap environments using mambajs, allowing libraries handling for…
… other kernels than xeus-python (#130) * Publish 3.0.0a0 SHA256 hashes: jupyterlite-xeus-2.1.2.tgz: 7b4c609535e58427961dcd91f4f17f1f1772d2e5138d269a2eb731269169f0ad jupyterlite-xeus-extension-2.1.2.tgz: 75a9bc44d1692f89d7cf66d4868c3c801e4a4fd7917079dd8e13e4fb8d67a76d jupyterlite_xeus-3.0.0a0-py3-none-any.whl: 0e7bde6fcf00d7645180bd24e442f1d8e154ede9a79bdc28e6be050259b29b50 jupyterlite_xeus-3.0.0a0.tar.gz: 6b145833b74eaaf194a0dddd6e67d10c2e7b7e722217165e514aee6e8a34946f * Make use of mambajs Author: Anastasia Sliusar <[email protected]> * Add mambajs to package.json, clean code * Fix eslint, add condifition whethere loading sharing libs is available * Remove try-catch block * Remove a comment * Update yarn * Fix eslint --------- Co-authored-by: martinRenou <[email protected]> Co-authored-by: martinRenou <[email protected]>
- Loading branch information
1 parent
34cbc95
commit 8ad7f33
Showing
5 changed files
with
499 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
const path = require('path'); | ||
const CopyPlugin = require('copy-webpack-plugin'); | ||
|
||
const wasmPath = [ | ||
__dirname, | ||
'..', | ||
'..', | ||
'node_modules', | ||
'@emscripten-forge', | ||
'mambajs', | ||
'lib', | ||
'*.wasm' | ||
]; | ||
const staticPath = [ | ||
__dirname, | ||
'..', | ||
'..', | ||
'jupyterlite_xeus', | ||
'labextension', | ||
'static', | ||
'[name].wasm' | ||
]; | ||
|
||
module.exports = { | ||
plugins: [ | ||
new CopyPlugin({ | ||
patterns: [ | ||
{ | ||
from: path.resolve(...wasmPath), | ||
to: path.join(...staticPath) | ||
} | ||
] | ||
}) | ||
] | ||
}; |
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
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.