mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
bundle in reftools in lib build
This commit is contained in:
parent
ff20838e5a
commit
57129d3f58
|
@ -3,7 +3,7 @@ import * as HtmlWebpackPlugin from 'html-webpack-plugin';
|
|||
|
||||
const nodeExternals = require('webpack-node-externals')({
|
||||
// bundle in moudules that need transpiling + non-js (e.g. css)
|
||||
whitelist: ['swagger2openapi', 'reftools', /\.(?!(?:jsx?|json)$).{1,5}$/i],
|
||||
whitelist: ['swagger2openapi', /reftools/, /\.(?!(?:jsx?|json)$).{1,5}$/i],
|
||||
});
|
||||
|
||||
const VERSION = JSON.stringify(require('./package.json').version);
|
||||
|
|
Loading…
Reference in New Issue
Block a user