Commit Graph

16 Commits

Author SHA1 Message Date
William O'Beirne 182eaa4329 Electron App (#854)
* Basic webpack build started.

* Get build working with electron-packager. Not fully satisfied, might investigate electron-builder.

* Custom title bar

* Rewrite all webpack configs to use common function. Organize webpack utils. Split into multiple dist folders.

* Replace electron build with electron-builder. Leave around packager for a bit.

* Check in progress on updater.

* Update modal flow.

* Fix tscheck.

* Adjust publish info.

* Arbitrary version bump.

* Bump version again.

* 5.0.2 bump fix autodownload.

* 5.0.2 bump again, readd dmg

* 5.0.3 bump

* Turn auto update back off. Log errors. Revert versions.

* Add os-specific builds. Improve update failure.

* Open external links in browser in electron.

* Remove custom title bar temporarily.

* Add info about the update download to the modal.

* Turn off development changes.

* Take the postBuild sorting script and move it into a webpack config.

* Initial conversion to typescript and electron-webpack.

* Switch from electron-webpack back to custom config, clean up unused code, typify electron bridge.

* Better typing for bridge.

* Remove unnecessary file.

* Reminify.

* Add shared folder resolving to jest config.

* Add enum to electron events
2018-01-22 17:38:06 -06:00
Daniel Ternyak d5ece361aa
Revert "Implement `offline-plugin` for Service Workers / App Cache (#701)" (#760)
This reverts commit ef506c54d6.
2018-01-08 23:04:20 -06:00
William O'Beirne 6920296f37 Remove 'evaluate' babel minify rule to prevent ios / safari errors. (#755) 2018-01-08 20:47:42 -06:00
William O'Beirne ce3b513354 Fix Safari / iOS illegal character syntax error (#742) 2018-01-07 20:00:22 -06:00
William O'Beirne 9c913de8e0 Disable mangle (temporarily?) to fix prod build (#706) 2018-01-01 18:12:27 -06:00
William O'Beirne ef506c54d6 Implement `offline-plugin` for Service Workers / App Cache (#701) 2018-01-01 17:15:13 -06:00
HenryNguyen5 616928c085 Webpack Upgrade (#665)
* Update TODO comments & Remove old TODO comments

* Fix undefined bityRate pair

* Fix any props in TODO

* Add HashRouter

* Update publicPath

* Revert "Update publicPath"

This reverts commit 1ab9068df4d570cf50bc4f2fcd97bd775e9aa768.

* Use HashRouter only if site is downloaded

* Update conditions for router

* Update asset paths & Change publicPath in production

* Remove hoist-non-react-statistics

* Revert "Remove hoist-non-react-statistics"

This reverts commit abc017a3f3ca1a00bebdd9201f0d18770581d8c5.

* Add hoist-non-react-statics as dev depencency

* Initial tests

* Lock hoist-non-react-statics version

* Add webpack-include-assets & favicon-webpack plugins

* Add env var BUILD_DOWNLOADABLE

* Remove dll from prod build

* Speed up rebuild times

* Change var to const

* lodash tree-shacking finagling

* Make app aware of its serving location

* Fix failing test

* Remove downloadable plugin

* Merge hash-router and get build working

* Add missing package.

* Make app aware of its serving location

* Revert "Make app aware of its serving location"

This reverts commit 8dae3b399e0392272cde25d45443391f6fb6594e.

* Revert "Remove downloadable plugin"

* Move AutoDLLPlugin to be in dev only

* Remove require HtmlWebpackIncludeAssetsPlugin

* Remove extra file added

* Bring config up to date with webpack 2 rules, add multi threading and proper cache busting

* Fix favicons package from freezing build process

* Make exclude rules more simple

* update freezer webpack config

* Move webpack multithreading to full source map dev builds only

* update freezer webpack config (#687)

* Add HtmlWebpackIncludeAssetsPlugin
2017-12-30 14:29:04 -06:00
William O'Beirne baea6aaf5f Use babel minifier instead of uglify (#273) 2017-10-08 18:31:26 -07:00
William O'Beirne a5f2c5e2e9 Improve Build Speed (#188)
* Improve build speed by using cheap source maps and dropping eslint loader.

* use old 'source-map' on dev when SLOW_BUILD_SPEED env variable exists
2017-09-13 10:56:20 -07:00
Daniel Kaspo e0a52ed0f8 Fixed trying to improperly delete our dist folder. (#36)
* Fixed trying to improperly delete our dist folder.
2017-07-17 10:35:25 -05:00
Daniel Ternyak 12fa008755 reformat everything 2017-07-03 22:28:56 -05:00
Daniel Kaspo d9ec50f859 Use `fs` library so even Windows users can run build. 2017-06-12 20:20:52 -04:00
crptm 4345497a6d remove config boilerplate 2017-05-25 02:43:41 +04:00
Daniel Ternyak 04d17f716e tidy up webpack config 2017-04-14 02:12:20 -05:00
Daniel Ternyak ef10723d0a fix prod webpack build config (less breaking build) 2017-04-14 01:52:58 -05:00
Daniel Ternyak 0fd652ab93 create webpack config with less support for both dev and prod 2017-04-11 23:59:58 -05:00