We've accidentally been running in dev mode for a while
but it doesn't seem to have broken anything and it means
that error messages are better, so let's keep it.
awesome-typescript-loader seems to be unsupported, it hasn't been
updated in a year. Performance and features of ts-loader look to be
on par with the previous solution.
a0ac1a2 upgraded Tridactyl's dependencies and webpack suddenly started
minifying the files it builds. This makes debugging much harder and thus
needs to be prevented. This is done by setting "mode" to "development"
in the module.exports object in webpack.config.js.
Motivation:
- Most test frameworks expect modules
- I'm told they're the future
Changes:
- Every typescript source file is now an es6 module
- Build system is now webpack (tho rollup makes nicer outputs)
- Outputs of buildsystem are one js file per entry point (background,
content, commandline_frame)
- These bundled js files are generated by traversing the dependency
graph of each entry point