Skip to content
Snippets Groups Projects
Commit b92c14a1 authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Improved build configuration.

parent 8815251b
No related branches found
No related tags found
No related merge requests found
......@@ -4,19 +4,25 @@
"description": "A Wordpress-Plugin to display knowledge in a graph-structured way.",
"main": "index.js",
"debug": "build/debug/graph.js",
"release": "build/debug/graph.js",
"release": "build/release/graph.js",
"targets": {
"main": false,
"debug": {
"distDir": "build/debug/"
},
"release": {
"distDir": "build/release/"
"distDir": "build/release/",
"sourceMap": false,
"optimize": true,
"includeNodeModules": ["three", "3d-force-graph"],
"isLibrary": true,
"context": "node"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "parcel watch index.js"
"watch": "parcel watch index.js",
"build": "parcel build index.js --target release"
},
"repository": {
"type": "git",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment