You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: