diff --git a/.gitignore b/.gitignore index f222b0b5..87b58ca7 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,5 @@ report.*.json # rust output target/ # wasm-pack output -pkg/ +pkg/* +!pkg/package.json diff --git a/package.json b/package.json index 3238b1e9..1085ec58 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/core/data_formats/compression/prs/pkg/package.json b/src/core/data_formats/compression/prs/pkg/package.json new file mode 100644 index 00000000..6487eb03 --- /dev/null +++ b/src/core/data_formats/compression/prs/pkg/package.json @@ -0,0 +1,4 @@ +{ + "name": "prs-rs", + "version": "0.1.0" +}