aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2020-05-08Makefile: Only build `index.js` with BrowserifyTeddy Wing
Previously this rule was passing all inputs to Browserify. We only need to pass `index.js`.
2020-05-08Makefile: Move the compiled user script to the project rootTeddy Wing
Makes it easier to find for distribution and removes a circular Make dependency (which gets ignored).
2020-05-06Makefile: Fix rebuild of non-index.js filesTeddy Wing
Previously, if I modified any TypeScript file other than `index.ts`, Make wouldn't rebuild. Depend on all JS files in build/ to ensure the output script gets rebuilt on changes.
2020-05-06Convert from a web extension to a user scriptTeddy Wing
Since it looks like everything's going to happen in the content script, might as well make this a user script instead. Build with Browserify in order to get a compiled JS file compatible with browsers. For some reason I'm currently getting an error complaining that the `stylesheet` variable is `null`. Need to look into that.