File tree 4 files changed +2
-35
lines changed 4 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"singleQuote": true,
3
- "tabWidth": 4
3
+ "tabWidth": 4,
4
+ "arrowParens": "always"
4
5
}
Original file line number Diff line number Diff line change @@ -11,22 +11,6 @@ To get started, install
11
11
([ wasm-bindgen] ( https://rustwasm.github.io/wasm-bindgen/whirlwind-tour/basic-usage.html )
12
12
should be installed by ` wasm-pack ` . if not, install it yourself)
13
13
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
-
30
14
## Build
31
15
32
16
Move into the ` wasm ` directory. This directory contains a library crate for
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
6
6
const path = require ( 'path' ) ;
7
7
const fs = require ( 'fs' ) ;
8
8
9
- const interval = setInterval ( ( ) => console . log ( 'keepalive' ) , 1000 * 60 * 5 ) ;
10
-
11
9
module . exports = ( env = { } ) => {
12
10
const config = {
13
11
entry : './src/index.js' ,
@@ -52,13 +50,6 @@ module.exports = (env = {}) => {
52
50
new MiniCssExtractPlugin ( {
53
51
filename : 'styles.css'
54
52
} ) ,
55
- {
56
- apply ( compiler ) {
57
- compiler . hooks . done . tap ( 'clearInterval' , ( ) => {
58
- clearInterval ( interval ) ;
59
- } ) ;
60
- }
61
- }
62
53
]
63
54
} ;
64
55
if ( ! env . noWasmPack ) {
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
6
6
const path = require ( 'path' ) ;
7
7
const fs = require ( 'fs' ) ;
8
8
9
- const interval = setInterval ( ( ) => console . log ( 'keepalive' ) , 1000 * 60 * 5 ) ;
10
-
11
9
module . exports = ( env = { } ) => {
12
10
const config = {
13
11
entry : './src/index.js' ,
@@ -59,13 +57,6 @@ module.exports = (env = {}) => {
59
57
new MiniCssExtractPlugin ( {
60
58
filename : 'styles.css'
61
59
} ) ,
62
- {
63
- apply ( compiler ) {
64
- compiler . hooks . done . tap ( 'clearInterval' , ( ) => {
65
- clearInterval ( interval ) ;
66
- } ) ;
67
- }
68
- }
69
60
]
70
61
} ;
71
62
if ( ! env . noWasmPack ) {
You can’t perform that action at this time.
0 commit comments