16 lines
846 B
Markdown
16 lines
846 B
Markdown
# trunkImages TinyMCE Plugin
|
|
|
|
Welcome stranger! This is a repo containing the trunkImages TinyMCE plugin.
|
|
|
|
## The development server
|
|
|
|
By running the `npm start` command you start the development server and open a browser window with an instance of TinyMCE with your plugin added to it. This window will reload automatically whenever a change is detected in the `index.html` file in the `static` folder or in one of the TypeScript files in the `src` directory.
|
|
|
|
## The production build
|
|
|
|
By running the `npm run build` command Webpack will create a `dist` directory with a child directory with the name of your plugin (trunk-images) containing three files:
|
|
|
|
* `plugin.js` - the bundled plugin
|
|
* `plugin.min.js` - the bundles, uglified and minified plugin
|
|
* `LICENSE` - a file explaining the license of your plugin (copied over from `src/LICENSE`)
|