Commit Graph
6 Commits
Author SHA1 Message Date
Anthony Johnson 0eab0dcbdf Make webpack dev server config to be more useful
Don't rebuild the docs constantly, use the nice webpack livereload
feature instead. Changes are now instantaneous when working with CSS/JS
2020-05-01 20:38:10 -06:00
Anthony Johnson 2d874544b2 Run webpack js through Prettier JS formatter
Uses Prettier with no options. I'm fine accepting this as the default
style for our Javascript and autoformatting src/js/*.js as well. I left
those changes out for now.
2019-07-26 15:35:35 -06:00
Anthony Johnson af7d610bb9 Pin Neat v1.9 to avoid node-gyp 3.8 2019-07-19 10:50:54 -06:00
Anthony Johnson fb934e0916 Change port and do make clean build 2019-07-18 16:51:27 -06:00
Anthony Johnson 006921a145 A few additions for migration to webpack
* Fix issues on paths in build and dev files
* Skip yarn to reduce tooling requirements
* Minify CSS assets in production
* Reduce imports on fonts, hardcode font pieces more. There are problems
  with the font family names. Roboto mixin brings in everything as
  `Roboto-Slab-Bold`, which won't match local font name of 'Roboto Slab'
* Fix the development instance more:
  * Add file watching on reST files
  * Execute build docs command after webpack build

Things I'm still not sure about:

- [ ] The actual JS output, I haven't vetted this yet
- [ ] If woff2 and woff are enough for fonts. The NPM packages are missing other formats
2019-07-17 23:37:55 -06:00
Simon Biggs beca6ea743 successful build with webpack 2019-07-02 20:17:20 +10:00