From 68e22bb982935c00bc78267452e92f4779fbccdf Mon Sep 17 00:00:00 2001 From: jos Date: Tue, 12 Jan 2016 16:42:55 +0100 Subject: [PATCH] Keep brace json, searchbox, and theme-jsoneditor included in minimalist bundle --- gulpfile.js | 2 +- src/docs/which files do I need.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 6c3713a..51e6e22 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -55,7 +55,7 @@ var compilerMinimalist = webpack({ }, plugins: [ bannerPlugin, - new webpack.IgnorePlugin(new RegExp('^brace')), + new webpack.IgnorePlugin(new RegExp('^brace$')), new webpack.IgnorePlugin(new RegExp('^ajv')) ], //exclude: [ diff --git a/src/docs/which files do I need.md b/src/docs/which files do I need.md index c987eff..726a8ae 100644 --- a/src/docs/which files do I need.md +++ b/src/docs/which files do I need.md @@ -23,7 +23,7 @@ The minimalist version has excluded the following libraries: - `ajv`, used for JSON schema validation. This reduces the the size of the minified and gzipped JavaScript file from -about 160 kB to just 25 kB. +about 160 kB to about 40 kB. When to use the minimalist version?