diff --git a/package.json b/package.json
index 40c99ccf1542eb0f3770ee293aa6f88361507431..016ab5ee92e72c049f99c8888977723b141b6f43 100644
--- a/package.json
+++ b/package.json
@@ -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",