extremely minimal ES6+ tester for client Javascript modules
This module has been made because I wanted to keep everything simple, develop frontend packages in js and publish them in npm without having to use any extra tools such as webpack, rolljs etc. to preview and test the work in browser.
- Just select any js module that is supposed to be executed/used in the browser and put it inside static/modules/extras folder
- Put any CSS required in static/CSS
- Run the CORS server using
npm run serve
- Install it in your frontend project using
npm install es-clientjs-tester
- Import in your test/preview js file using
import ClientJsPreview from 'es-clientjs-tester
- Call the server using
ClientJsPreview(<main js path>)