hoodiehq / hoodie-client

:dog: Client API for the Hoodie server
Apache License 2.0
34 stars 25 forks source link

npm run build: hoodie.min.js does not set window.Hoodie #34

Open gr2m opened 8 years ago

gr2m commented 8 years ago

to reproduce

npm run build
cat dist/hoodie.min.js | pbcopy

Open http://example.com/, open console, paste, enter

window.Hoodie is undefined.

Doing

cat dist/hoodie.js | pbcopy

and pasting works as expected

gr2m commented 8 years ago

note for later:

boennemann [5:13 PM] 
@gregor https://github.com/hoodiehq/hoodie-client/blob/master/package.json#L50 looks good in the config

[5:13] 
can you try disabling either the transform or the pipe