Commit Graph

48 Commits (980df66b16c1d09aaefed0dff89007fcd461b25b)

Author SHA1 Message Date
Andrew Watkins c795448d30 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 979f4da50d Tweak package.json scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins e90567448d Remove thread loader from babel build to speed up hot reload 2018-03-01 11:16:02 -07:00
Andrew Watkins 622a7cd208 gzip compress prod build 2018-03-01 11:16:02 -07:00
Andrew Watkins 6e9cc6c6cc Add additional UgliffyJSPlugin options 2018-03-01 11:16:02 -07:00
Andrew Watkins 61cefe2372 Fix react unminified in prod 2018-03-01 11:16:02 -07:00
Andrew Watkins 8fcec6e0c4 Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
Andrew Watkins 5726e05ac2 Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins a9d3ef04c1 Introduce DllPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 7802189804 Add thread and fork-ts-checker-webpack-plugin 2018-03-01 11:16:02 -07:00
Andrew Watkins fda32140a4 Update babel loader to use modern webpack config syntax 2018-03-01 11:15:33 -07:00
Andrew Watkins c4a0bb7f5d Enable synthetic default imports 2018-03-01 11:14:55 -07:00
Andrew Watkins 461561aaee Update prodConfig with ts-loader 2018-03-01 11:14:55 -07:00
Andrew Watkins 2f9b932d05 Introduce first TypeScript file to project 2018-03-01 11:14:55 -07:00
Andrew Watkins 9245ea9674 Prettier 2018-03-01 11:13:44 -07:00
Andrew Watkins 426b0c97c2 Update prod config to support webpack 2 2018-03-01 11:12:49 -07:00
Andrew Watkins a7cebee19f WIP: initial upgrade path to Webpack 2 2018-03-01 11:11:30 -07:00
Hunter Trujillo 68be5030c2 Remove unnecessary return. 2017-12-04 18:13:40 -07:00
Hunter Trujillo 188cd8f1ca Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls. 2017-12-04 18:10:57 -07:00
Hunter Trujillo d35fb25192 Fix file removal code. Fix clean script. Add clean to yarn start. 2017-12-01 11:14:16 -07:00
Andrew Watkins 50a0ae90d5 Remove console spam 2017-11-09 10:01:21 -08:00
Chris Goller 1bcf74e547 Add hot module reload to dev builds (make run-hmr) 2017-11-04 14:07:39 -05:00
Chris Goller 39096e6c3d Add cleanup step to js dev builds to remove unused files 2017-11-03 19:33:16 -05:00
Andrew Watkins 7772bce02f Prettier webpack 2017-10-27 09:11:03 -07:00
Andrew Watkins cbe1ee9901 Fix memoizer warning in production build 2017-10-27 09:10:14 -07:00
Andrew Watkins 9141812b47 Fix prebuilt warning with webpacks noParse 2017-10-20 12:01:41 -07:00
Alex P 65d9ac67e0 Use more supported .cur format instead of .png 2017-04-04 12:22:47 -07:00
Alex P 3c431d000a Remove unused webpack files. -H 2017-04-04 12:22:23 -07:00
Hunter Trujillo 1e4c7a4d5a Add frontend support for OAuth changes. 2017-02-15 11:57:52 -07:00
Chris Goller 3414012d7c Update Makefile and webpack to make builds incremental 2017-02-08 21:15:56 -06:00
Nathan Haugo 5de15eca21 Merge pull request #762 from influxdata/feature/596-select-host
Feature/596 select host
2017-01-12 14:53:15 -08:00
Hunter Trujillo e9362a2da9 Refactor to use async/await. 2017-01-12 14:59:07 -07:00
Alex P 3118dbbdfc Change style.css to chronograf.css to be more consistent and branded 2017-01-12 10:57:40 -08:00
Tim Raymond a4793bdefc 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 10a2b31b8d 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 36d3504728 Adding favicon
tested in dev and prod works okay
2016-10-10 14:11:49 -07:00
Andrew Watkins 9b0dfd0c72 Include chunkhash to file names 2016-09-30 14:23:15 -07:00
Andrew Watkins a424d0adba Split vendor dependencies into chunks 2016-09-30 13:16:24 -07:00
Andrew Watkins 535373a96d Update prodConfig to handle images 2016-09-28 10:49:34 -07:00
Andrew Watkins 9a0aa08810 Allow import of static png and jpg in scss 2016-09-27 12:54:32 -07:00
Will Piers 0ee756a616 Finish up source selection page structure 2016-09-23 16:24:52 -07:00
Andrew Watkins 4cd3d7691e Fix broken source maps 2016-09-22 11:17:49 -07:00
Chris Goller 1ce14455da Fix prod webpack to look to / instead of /build 2016-09-20 09:09:36 -07:00
Chris Goller 2d03f60756 Update autogenerated index.html to work from /
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 14:16:33 -07:00
Will Piers aae54875eb Add html template with react-root for the js to render into 2016-09-19 13:45:05 -07:00
Will Piers e349bcaed0 Have webpack build html file into output 2016-09-19 13:45:05 -07:00
Will Piers ea24800d3f Tweak build output path and gitignore
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Will Piers 4d20b2af4a Bring over enterprise ui and configuration
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00