Keep brace json, searchbox, and theme-jsoneditor included in minimalist bundle

This commit is contained in:
jos 2016-01-12 16:42:55 +01:00
parent fbbdab9f02
commit 68e22bb982
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ var compilerMinimalist = webpack({
}, },
plugins: [ plugins: [
bannerPlugin, bannerPlugin,
new webpack.IgnorePlugin(new RegExp('^brace')), new webpack.IgnorePlugin(new RegExp('^brace$')),
new webpack.IgnorePlugin(new RegExp('^ajv')) new webpack.IgnorePlugin(new RegExp('^ajv'))
], ],
//exclude: [ //exclude: [

View File

@ -23,7 +23,7 @@ The minimalist version has excluded the following libraries:
- `ajv`, used for JSON schema validation. - `ajv`, used for JSON schema validation.
This reduces the the size of the minified and gzipped JavaScript file from 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? When to use the minimalist version?