Commit Graph

57 Commits (925d815f47c7a7b497b98c1205aaf61daadcc566)

Author SHA1 Message Date
Luke Morris 9e8c529bd0 eslint-loader emits warnings 2018-03-09 15:24:23 -08:00
Andrew Watkins 9721b01ebb Remove gzip compression (already done on server) 2018-03-07 08:32:15 -08:00
Andrew Watkins 209fced32d Allow webpack to resolve imports and exports 2018-03-07 08:32:15 -08:00
Andrew Watkins 85d80a9849 Remove functional logger from webpack dev.config 2018-03-05 08:46:23 -08:00
Andrew Watkins 91a1f63595 Add thread-loader to babel build step 2018-03-05 08:44:53 -08:00
Luke Morris f69d518553 Exclude hot-update files 2018-03-01 16:35:05 -08:00
Luke Morris debc21c1c8 Higher signal to noise ratio in incremental output 2018-03-01 16:28:46 -08:00
Luke Morris 3494729d88 Merge branch 'master' into goodbye-bootstrap 2018-03-01 12:20:24 -08:00
Andrew Watkins 311b5e538d Only create reference to vendor.dll.js in developement
Also changed filenames to fit with more modern webpack conventions
2018-03-01 11:16:02 -07:00
Andrew Watkins 0df1ce1c08 Tweak package.json scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins d5b10c7e23 Remove thread loader from babel build to speed up hot reload 2018-03-01 11:16:02 -07:00
Andrew Watkins 215fa3b294 gzip compress prod build 2018-03-01 11:16:02 -07:00
Andrew Watkins 37038f0e5a Add additional UgliffyJSPlugin options 2018-03-01 11:16:02 -07:00
Andrew Watkins 1c238de939 Fix react unminified in prod 2018-03-01 11:16:02 -07:00
Andrew Watkins 5ef181f53d Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
Andrew Watkins c61ca3a6f8 Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 1f9f93460b Introduce DllPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 5eff3ef204 Add thread and fork-ts-checker-webpack-plugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 57d3b2a002 Update babel loader to use modern webpack config syntax 2018-03-01 11:15:33 -07:00
Andrew Watkins e356b932d4 Enable synthetic default imports 2018-03-01 11:14:55 -07:00
Andrew Watkins dc5503975f Update prodConfig with ts-loader 2018-03-01 11:14:55 -07:00
Andrew Watkins a37f75ed90 Introduce first TypeScript file to project 2018-03-01 11:14:55 -07:00
Andrew Watkins 70a83477fd Prettier 2018-03-01 11:13:44 -07:00
Andrew Watkins 87bed89c08 Update prod config to support webpack 2 2018-03-01 11:12:49 -07:00
Andrew Watkins f239990733 WIP: initial upgrade path to Webpack 2 2018-03-01 11:11:30 -07:00
Alex P cfb4ad7995 Remove jQuery & Bootstrap packages 2018-02-27 13:05:36 -08:00
Hunter Trujillo 2f11fd15a1 Remove unnecessary return. 2017-12-04 18:13:40 -07:00
Hunter Trujillo a1d9ea9396 Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls. 2017-12-04 18:10:57 -07:00
Hunter Trujillo 8413e77161 Fix file removal code. Fix clean script. Add clean to yarn start. 2017-12-01 11:14:16 -07:00
Andrew Watkins 5ed210fff2 Remove console spam 2017-11-09 10:01:21 -08:00
Chris Goller 36d9547d9a Add hot module reload to dev builds (make run-hmr) 2017-11-04 14:07:39 -05:00
Chris Goller 73dd89843f Add cleanup step to js dev builds to remove unused files 2017-11-03 19:33:16 -05:00
Andrew Watkins f5af9167c2 Prettier webpack 2017-10-27 09:11:03 -07:00
Andrew Watkins 160b468e04 Fix memoizer warning in production build 2017-10-27 09:10:14 -07:00
Andrew Watkins b126c44557 Fix prebuilt warning with webpacks noParse 2017-10-20 12:01:41 -07:00
Alex P a0c39ca17c Use more supported .cur format instead of .png 2017-04-04 12:22:47 -07:00
Alex P 1ac78833c0 Remove unused webpack files. -H 2017-04-04 12:22:23 -07:00
Hunter Trujillo 6d601d527f Add frontend support for OAuth changes. 2017-02-15 11:57:52 -07:00
Chris Goller cb1aadf49c Update Makefile and webpack to make builds incremental 2017-02-08 21:15:56 -06:00
Nathan Haugo 848e62c1f3 Merge pull request #762 from influxdata/feature/596-select-host
Feature/596 select host
2017-01-12 14:53:15 -08:00
Hunter Trujillo c9a77e0207 Refactor to use async/await. 2017-01-12 14:59:07 -07:00
Alex P 4c48fe4acf Change style.css to chronograf.css to be more consistent and branded 2017-01-12 10:57:40 -08:00
Tim Raymond 1f4e813768 Add "I" and "Name" to cells on backend
React-grid-layout uses an "i" parameter in the JSON describing a layout
as an identifier. This is used to bind DOM elements' keys to Cells from
the API. Also, we need a "Name" to describe what each graph is to a
user.

Also, react-grid-layout specified widths and heights in terms of units
of the grid that it establishes. In order to have this properly
configured, the extents of this grid need to be spelled out when
creating a ReactGridLayout, hence the addition of "cols" and
"rowHeight" props to that component.

Finally, react-grid-layout incorporates some of its own styles. To
support this, some modifications needed to be made to the webpack config
to allow us to pull in includes from node_modules.
2016-10-28 18:01:14 -04:00
Chris Goller 3b583a8da2 Fix webpack exit code to actually work.
Webpack does not return non-zero values are failure.  This breaks
most build systems.
2016-10-20 15:08:45 -05:00
Alex P ac758a02e8 Adding favicon
tested in dev and prod works okay
2016-10-10 14:11:49 -07:00
Andrew Watkins 149b9d0539 Include chunkhash to file names 2016-09-30 14:23:15 -07:00
Andrew Watkins d564f75da3 Split vendor dependencies into chunks 2016-09-30 13:16:24 -07:00
Andrew Watkins 45ab2c0b71 Update prodConfig to handle images 2016-09-28 10:49:34 -07:00
Andrew Watkins b371e6ea91 Allow import of static png and jpg in scss 2016-09-27 12:54:32 -07:00
Will Piers 81071265ee Finish up source selection page structure 2016-09-23 16:24:52 -07:00