Skip to content

Commit 3a37853

Browse files
authored
Merge pull request #14 from thingsSDK/new-deps
Added up-to-date dependancies
2 parents 4384b70 + 01aaa57 commit 3a37853

File tree

3 files changed

+2415
-629
lines changed

3 files changed

+2415
-629
lines changed

build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function transformForEnvironment(env, entry) {
3131
module.exports = function build(devices, payload, next) {
3232
console.log("Treeshaking code...");
3333
rollup({
34-
entry: payload.entry,
34+
input: payload.entry,
3535
plugins: [
3636
transformForEnvironment(payload.env, payload.entry),
3737
json(),
@@ -56,7 +56,7 @@ module.exports = function build(devices, payload, next) {
5656
}).then(bundle => {
5757
return bundle.write({
5858
format: 'cjs',
59-
dest: path.join(payload.buildDir, 'espruino-generated.js')
59+
file: path.join(payload.buildDir, 'espruino-generated.js')
6060
});
6161
}).then(() => next())
6262
.catch(next);

0 commit comments

Comments
 (0)