From 01bed2a051c73513986e9c94f67c1ebcb40e8d21 Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Tue, 19 Mar 2019 20:54:53 -0500 Subject: [PATCH] Change the WASM example to use rustpython from npm --- wasm/example/package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wasm/example/package.json b/wasm/example/package.json index cee4b7702b9..5653448b258 100644 --- a/wasm/example/package.json +++ b/wasm/example/package.json @@ -1,10 +1,8 @@ { "name": "rustpython-wasm-example", "version": "1.0.0", - "//1": "`dependencies.rustpython_wasm` would be the version of the npm", - "//2": "library in a real app", "dependencies": { - "rustpython_wasm": "file:../lib/pkg/" + "rustpython_wasm": "0.1.0-pre-alpha.1" }, "devDependencies": { "raw-loader": "1.0.0", @@ -12,7 +10,8 @@ "webpack-cli": "^3.1.2" }, "scripts": { - "build": "webpack" + "build": "webpack", + "dist": "webpack --mode production" }, "license": "MIT" }