Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible improvements: use rollup and TypeScript, add support for npm init #14

Open
diskdance opened this issue Aug 8, 2023 · 0 comments

Comments

@diskdance
Copy link

diskdance commented Aug 8, 2023

This repo looks good, but it can be better.

I have tried writing gadgets with ES bundler (rollup) and TypeScript several times and feel comfortable with my solution overall:

  1. rollup has few dependencies than browserify and is more modern for ES bundling
  2. I created a rollup plugin for integration with MW ResourceLoader and can (for instance) use Vue.js from MediaWiki itself
  3. TypeScript allows you to write strongly typed JavaScript and with types-mediawiki you got Intellisense for mw interfaces

It would be great if this repo can be updated and add support for npm init.

@diskdance diskdance changed the title Possible improvements: use rollup and TypeScript Possible improvements: use rollup and TypeScript, add support for npm init Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant