Skip to content

Commit c8ee558

Browse files
committed
Misc cleanup wasm
1 parent 9e9ef0c commit c8ee558

File tree

4 files changed

+2
-35
lines changed

4 files changed

+2
-35
lines changed

wasm/.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"singleQuote": true,
3-
"tabWidth": 4
3+
"tabWidth": 4,
4+
"arrowParens": "always"
45
}

wasm/README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,6 @@ To get started, install
1111
([wasm-bindgen](https://rustwasm.github.io/wasm-bindgen/whirlwind-tour/basic-usage.html)
1212
should be installed by `wasm-pack`. if not, install it yourself)
1313

14-
<!-- Using `rustup` add the compile target `wasm32-unknown-emscripten`. To do so you will need to have [rustup](https://rustup.rs/) installed.
15-
16-
```bash
17-
rustup target add wasm32-unknown-emscripten
18-
```
19-
20-
Next, install `emsdk`:
21-
22-
```bash
23-
curl https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | tar -zxv
24-
cd emsdk-portable/
25-
./emsdk update
26-
./emsdk install sdk-incoming-64bit
27-
./emsdk activate sdk-incoming-64bit
28-
``` -->
29-
3014
## Build
3115

3216
Move into the `wasm` directory. This directory contains a library crate for

wasm/demo/webpack.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
66
const path = require('path');
77
const fs = require('fs');
88

9-
const interval = setInterval(() => console.log('keepalive'), 1000 * 60 * 5);
10-
119
module.exports = (env = {}) => {
1210
const config = {
1311
entry: './src/index.js',
@@ -52,13 +50,6 @@ module.exports = (env = {}) => {
5250
new MiniCssExtractPlugin({
5351
filename: 'styles.css'
5452
}),
55-
{
56-
apply(compiler) {
57-
compiler.hooks.done.tap('clearInterval', () => {
58-
clearInterval(interval);
59-
});
60-
}
61-
}
6253
]
6354
};
6455
if (!env.noWasmPack) {

wasm/notebook/webpack.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
66
const path = require('path');
77
const fs = require('fs');
88

9-
const interval = setInterval(() => console.log('keepalive'), 1000 * 60 * 5);
10-
119
module.exports = (env = {}) => {
1210
const config = {
1311
entry: './src/index.js',
@@ -59,13 +57,6 @@ module.exports = (env = {}) => {
5957
new MiniCssExtractPlugin({
6058
filename: 'styles.css'
6159
}),
62-
{
63-
apply(compiler) {
64-
compiler.hooks.done.tap('clearInterval', () => {
65-
clearInterval(interval);
66-
});
67-
}
68-
}
6960
]
7061
};
7162
if (!env.noWasmPack) {

0 commit comments

Comments
 (0)