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
> deku@2.0.0-rc16 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.
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 buildeddeku.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:I solved this issue with
browserify lib/index.js -s deku -t babelify -o dist/deku.js
command. It looks likestandalone
command is a bit outdated.