15 Commits

Author SHA1 Message Date
talves
ac0a7fc27c Remove IE11 Support 2017-10-19 14:12:15 -04:00
Benaiah Mischenko
7dd8ca13c4 Migrate to plain CSS (remove CSS modules) (#659)
* Migrate to plain CSS (remove CSS modules)

Change `prefixer` to a function instead of a proxy

* Switch prefix to `nc`

* Replace prefixer with literal class names

* Remove prefixer

* Fix migration errors

* fix compose migrations

* Remove unnecessary theme imports

* Remove old CSS import

* fix sticky toolbar positioning

* update to cssnano v4 so preset is used

* fix css pseudo selectors

* update lockfile
2017-10-18 12:29:38 -04:00
Caleb
ae31e971b7 Update comments in webpack config. 2017-10-02 20:41:52 -06:00
Caleb
6801182e84 Don't run normalize.css through PostCSS. 2017-10-02 20:39:24 -06:00
Caleb
6d7aebb64f Fix notif styles.
The default `redux-notifications` styles shouldn't be run through the
module prefixer.
2017-10-02 20:38:17 -06:00
Shawn Erquhart
8ebfd675ba update to react-toolbox 2.0 beta 2017-10-02 19:31:06 -06:00
Caleb
8e989727d8 Remove Esprima from the js-yaml bundle.
According to the `js-yaml` docs, it is only needed if you are trying
to parse JS functions in/out of JSON, which we are not doing.
2017-10-01 17:19:24 -06:00
Benaiah Mischenko
25225121ed [WIP] Upgrade to Webpack 2 2017-06-13 15:30:21 -07:00
Andrey Okonetchnikov
fed0066ca5 Use proper loaders for external module's CSS. (#157)
- react-toolbox requires its own setup with sass-loader for now
- redux-notifications doen's need to use css-modules
- exclude `node_modules` from our own CSS pipeline

Realted to bcca98b1951d03e0850b353e9c16fd8b1db2291f
2016-11-23 16:22:49 -02:00
Cássio Zen
943916b0f2 Reverting bcca98b for now - redux-notifications relies on css loading 2016-11-11 18:20:05 -02:00
Andrey Okonetchnikov
bcca98b195 Exclude node_modules for CSS as well 2016-11-11 12:09:05 +01:00
Andrey Okonetchnikov
434f45c97c Webpack optimizations (#140)
* Less repetition in webpack configs. Minify CSS classnames in production.

* Ignore all optional deps of moment.js. Fixes #138

* Added target to webpack config

* Automatically extract all 3rd party modules into a separate 'vendor' chunk

* Inline only assets that are smaller than 10KB

* Added autoprefixer options

* Replaced sinfle babel transforms with the stage-1 preset. Cleaned up webpack configs.

* Do not include hot module replacement in production
2016-10-26 15:51:35 -02:00
Andrey Okonetchnikov
a80d1087b2 Simplified a regexp in the webpack config 2016-10-12 19:17:37 +02:00
Andrey Okonetchnikov
60ec67c2a9 Added process.env.NODE_ENV to webpack.DefinePlugin 2016-10-06 15:59:19 +02:00
Andrey Okonetchnikov
ede273a732 Splitted webpack config into base and dev. Re-use it in .storybook webpack config. 2016-09-15 20:05:18 +02:00