On Sun, 16 Jun, 2019 at 5:34 PM, Pirate Praveen <prav...@onenetbeyond.org> wrote:
While we are at it, we have provide an es module entry point as well. See #930591

I tried to use the upstream provided build script which uses rollup (it is pushed to rollup branch on salsa), but it failed with this error

dh_auto_build
node scripts/build.js
{ SyntaxError: Unexpected keyword 'false' (49:8)
   at error (/usr/lib/nodejs/rollup/dist/rollup.js:222:12)
at Object.error$$1 [as error] (/usr/lib/nodejs/rollup/dist/rollup.js:6075:6)
   at /usr/lib/nodejs/rollup/dist/rollup.js:6084:28
   at process._tickCallback (internal/process/next_tick.js:68:7)
   at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
   at startup (internal/bootstrap/node.js:283:19)
   at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
 pos: 1204,
 loc:
  Position {
    line: 49,
    column: 8,
    file:
     '/<<PKGBUILDDIR>>/src/core/util/props.js' },
 raisedAt: 1211,
 snippet:
'45 : toggleObserving(true)\n46 : observe(value)\n47 : toggleObserving(prevShouldObserve)\n48 : }\n49 : const false = false;\n ^',
 toString: [Function],
 plugin: 'buble',
 frame:
'45 : toggleObserving(true)\n46 : observe(value)\n47 : toggleObserving(prevShouldObserve)\n48 : }\n49 : const false = false;\n ^',
 code: 'PLUGIN_ERROR',
 id:
  '/<<PKGBUILDDIR>>/src/core/util/props.js' }
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to