mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 15:28:29 +08:00
Fixed an optional module not really being optional (prs-rs).
This commit is contained in:
parent
d5c72152e8
commit
e0eadeb1ed
3
.gitignore
vendored
3
.gitignore
vendored
@ -35,4 +35,5 @@ report.*.json
|
|||||||
# rust output
|
# rust output
|
||||||
target/
|
target/
|
||||||
# wasm-pack output
|
# wasm-pack output
|
||||||
pkg/
|
pkg/*
|
||||||
|
!pkg/package.json
|
||||||
|
@ -11,9 +11,11 @@
|
|||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"luxon": "^1.23.0",
|
"luxon": "^1.23.0",
|
||||||
"monaco-editor": "^0.20.0",
|
"monaco-editor": "^0.20.0",
|
||||||
"prs-rs": "file:src/core/data_formats/compression/prs/pkg",
|
|
||||||
"three": "^0.115.0"
|
"three": "^0.115.0"
|
||||||
},
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"prs-rs": "file:src/core/data_formats/compression/prs/pkg"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack-dev-server --config webpack.dev.js",
|
"start": "webpack-dev-server --config webpack.dev.js",
|
||||||
"build_prs_rs": "wasm-pack build src/core/data_formats/compression/prs",
|
"build_prs_rs": "wasm-pack build src/core/data_formats/compression/prs",
|
||||||
|
4
src/core/data_formats/compression/prs/pkg/package.json
Normal file
4
src/core/data_formats/compression/prs/pkg/package.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "prs-rs",
|
||||||
|
"version": "0.1.0"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user