15 Commits

Author SHA1 Message Date
Shawn Erquhart
a19bc04c00
auto/manual init w/ single bundle, BYO root element 🎉 (#1173)
* ensure that application is only initialized once

* allow for single bundle init

* enable manual initialization via global flag
2018-03-28 15:52:57 -04:00
Caleb
7df903c714 Ship source code to NPM (#1095)
* Ship sources in NPM package.

* Use external source files for sourcemaps.

* Remove broken sourcemap rule.
2018-03-28 11:13:16 -04:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Edward Betts
24307e3c3c Correct spelling mistakes. (#898) 2017-12-11 17:16:24 -08:00
Caleb
ed5bf36edd Enable WebPack scope hoisting.
This is only enabled for the production build, as it breaks Hot Module
Reloading.
2017-11-27 16:58:35 -05:00
Caleb
6071ea746f Upgrade uglify-js-webpack-plugin, enable sourcemaps 2017-11-11 10:32:32 -05:00
Benaiah Mischenko
96874bd956 [WIP] Remove broken duplicate rules from webpack.prod.js 2017-06-16 15:53:37 -07:00
Benaiah Mischenko
25225121ed [WIP] Upgrade to Webpack 2 2017-06-13 15:30:21 -07:00
Joseph Earl
22137ed777 Fixes #292 Display version number 2017-04-18 16:11:48 -07:00
Cássio Zen
93e4d493e4 Add sourcemaps to production build 2016-12-20 19:36:05 -02:00
Mathias Biilmann
fa03ce29bf Make sure we actually build netlify-cms as library (#169)
* Build netlify-cms as a library

* Bump version
2016-11-23 19:37:51 -02:00
Mathias Biilmann Christensen
8623a514af Prepare to publish new version 2016-11-11 17:28:56 -08:00
Cássio Zen
a10a132e4f Do not generate vendor assets
We already had documented that the user needs to import cms.js and cms.css - introducing vendor files now can cause trubles to existing users
2016-10-31 12:41:20 -02: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
Cássio Souza
2c8cdfc15e Webpack for production build (#134)
* Webpack config for production build
2016-10-21 21:18:45 -02:00