Fixed an optional module not really being optional (prs-rs).

This commit is contained in:
jtuu 2020-07-02 17:39:47 +03:00
parent d5c72152e8
commit e0eadeb1ed
3 changed files with 9 additions and 2 deletions

3
.gitignore vendored
View File

@ -35,4 +35,5 @@ report.*.json
# rust output
target/
# wasm-pack output
pkg/
pkg/*
!pkg/package.json

View File

@ -11,9 +11,11 @@
"lodash": "^4.17.15",
"luxon": "^1.23.0",
"monaco-editor": "^0.20.0",
"prs-rs": "file:src/core/data_formats/compression/prs/pkg",
"three": "^0.115.0"
},
"optionalDependencies": {
"prs-rs": "file:src/core/data_formats/compression/prs/pkg"
},
"scripts": {
"start": "webpack-dev-server --config webpack.dev.js",
"build_prs_rs": "wasm-pack build src/core/data_formats/compression/prs",

View File

@ -0,0 +1,4 @@
{
"name": "prs-rs",
"version": "0.1.0"
}