Skip to content

Commit

Permalink
fixing the import used for development (#30)
Browse files Browse the repository at this point in the history
This is where the development script is actually served from
  • Loading branch information
Bongo50 committed Apr 7, 2024
1 parent 4848391 commit 8e378d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Twinkle-core uses translatewiki.net for message translations (https://translatew
Firstly, you'll want to make sure your editor is properly configured to work with TypeScript. For example, you may need to install a plugin (such as atom-typescript if you use atom editor), in order to fully take advantage of TypeScript. If you use VS Code, TypeScript support is built-in, so no extensions are required.

Commands:
- `npm start` - this creates a quick build of the project which you can test by loading `mw.loader.load('http://localhost:5500/dev-loader.js');` from your on-wiki common.js page (or from the browser console).
- `npm start` - this creates a quick build of the project which you can test by loading `mw.loader.load('http://localhost:5500');` from your on-wiki common.js page (or from the browser console).
- `grunt build` - this creates a minified single-file build that you copy over to the wiki (see Deployment below).

Use your [browser console](https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Console_messages) to look out for any JavaScript errors (usually opened via Ctrl+Shift+J or Cmd+Option+J or F12).
Expand Down

0 comments on commit 8e378d2

Please sign in to comment.