Commit 8bbf9b99 authored by Robert Knight's avatar Robert Knight

Specify boot script as the entry point for the client

Add a "main" entry to package.json so that the boot script is treated as
the main URL for the package when loading it via services like
unpkg.com.

We are already using the "browser" field to specify how to resolve
modules for Browserify, so it cannot be set to the entry point directly,
although hacks [1] are possible.

[1] https://gist.github.com/defunctzombie/4339901#gistcomment-1582456
parent d9dca33b
......@@ -138,6 +138,7 @@
"hammerjs": "Hammer",
"jquery": "$"
},
"main": "./build/boot.js",
"scripts": {
"build": "NODE_ENV=production gulp build",
"deps": "check-dependencies",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment