Skip to content

y330/RapydRollupWebExt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapyd Rollup Web Ext

under construction

Actually, this is using rollup.js, not webpack.

This experimental extension is a calendar extension, and it demonstrates compiling python(.pyj files) to Javascript, then using the rollup plugin chrome extension package from NPM to build the extension files for live reloading in the browser.

This is a webextension made using rapydscript, a pythonic flavour of javascript. Want to find out more? go to RapydScript Github repo


These are the scripts in package.json

        "build": "npm run convert && rollup -c",
        "start": "rollup -c -w",
        "popup": "rapydscript src/python/popup.pyj > popup.js && mv popup.js ./src/scripts",
        "options": "rapydscript src/python/options.pyj > options.js && mv options.js ./src/scripts",
        "convert": "npm run popup && npm run options"

Releases

No releases published

Packages

No packages published