Skip to content

Commit 01bed2a

Browse files
committed
Change the WASM example to use rustpython from npm
1 parent 5b6b33b commit 01bed2a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

wasm/example/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
22
"name": "rustpython-wasm-example",
33
"version": "1.0.0",
4-
"//1": "`dependencies.rustpython_wasm` would be the version of the npm",
5-
"//2": "library in a real app",
64
"dependencies": {
7-
"rustpython_wasm": "file:../lib/pkg/"
5+
"rustpython_wasm": "0.1.0-pre-alpha.1"
86
},
97
"devDependencies": {
108
"raw-loader": "1.0.0",
119
"webpack": "4.28.2",
1210
"webpack-cli": "^3.1.2"
1311
},
1412
"scripts": {
15-
"build": "webpack"
13+
"build": "webpack",
14+
"dist": "webpack --mode production"
1615
},
1716
"license": "MIT"
1817
}

0 commit comments

Comments
 (0)