Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide single builded file #418

Open
LMnet opened this issue Apr 9, 2016 · 0 comments
Open

Provide single builded file #418

LMnet opened this issue Apr 9, 2016 · 0 comments

Comments

@LMnet
Copy link

LMnet commented Apr 9, 2016

I found in the readme that the recomended way of downloading deku is npm install --save deku. But in downloaded directory I didn't find single builded deku.js file. ATM I need to build this file locally from sources. It would be great if this builded file will be the part of default install.

Also, when I'm trying to build deku locally with npm run standalone, I have this error:

➜  deku git:(master) npm run standalone

> [email protected] standalone /data/IT/Projects/deku
> browserify src/index.js -s deku -t babelify -o dist/deku.js


/data/IT/Projects/deku/src/index.js:1
import * as diff from './diff';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

I solved this issue with browserify lib/index.js -s deku -t babelify -o dist/deku.js command. It looks like standalone command is a bit outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant