File tree Expand file tree Collapse file tree 4 files changed +2
-35
lines changed
Expand file tree Collapse file tree 4 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 11{
22 "singleQuote": true,
3- "tabWidth": 4
3+ "tabWidth": 4,
4+ "arrowParens": "always"
45}
Original file line number Diff line number Diff line change @@ -11,22 +11,6 @@ To get started, install
1111([ wasm-bindgen] ( https://rustwasm.github.io/wasm-bindgen/whirlwind-tour/basic-usage.html )
1212should 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
3216Move 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');
66const path = require ( 'path' ) ;
77const fs = require ( 'fs' ) ;
88
9- const interval = setInterval ( ( ) => console . log ( 'keepalive' ) , 1000 * 60 * 5 ) ;
10-
119module . 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 ) {
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
66const path = require ( 'path' ) ;
77const fs = require ( 'fs' ) ;
88
9- const interval = setInterval ( ( ) => console . log ( 'keepalive' ) , 1000 * 60 * 5 ) ;
10-
119module . 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 ) {
You can’t perform that action at this time.
0 commit comments