Open sneljo1 opened 5 years ago
Thanks for pointing this out! Just fixed this in https://github.com/amilajack/caster/commit/74286b4586f62b336134a530f8af7088ba7bf79c. I renamed the lib
folder to dist
.
Just wanted to follow up with you on this to check if this worked for you.
I'm actually working on this this weekend. It didn't end up working out for me. I'm having multiple issues. I'm trying to fix these locally with a fork. I'm not sure if it's my configuration or something in the module.
Unexpected token "static"
ERROR in ./node_modules/@amilajack/castv2-client/dist/senders/application.js 19:16
Module parse failed: Unexpected token (19:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class Application extends _sender.default {
> static APP_ID = 'CC1AD845';
|
| constructor(client, session) {
@ ./node_modules/@amilajack/castv2-client/dist/index.js 89:42-74
@ ./src/main/features/core/chromecast/chromecastManager.ts
@ ./src/main/features/index.ts
@ ./src/main/app.ts
@ ./src/main/index.ts
@amilajack/castv2-client/dist/index.d.ts' is not a module. -> This issue seems to be resolved when not using outFile in tsconfig.
1 seems to be solved adding @babel/plugin-proposal-class-properties
. If you want I can create a PR if you haven't already fixed this soms other branch.
Is it possible that 0.0.2-0 didnt get build correctly before publishing? The built lib folder seems to be missing.