Skip to content

Commit 57129d3

Browse files
committed
bundle in reftools in lib build
1 parent ff20838 commit 57129d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as HtmlWebpackPlugin from 'html-webpack-plugin';
33

44
const nodeExternals = require('webpack-node-externals')({
55
// bundle in moudules that need transpiling + non-js (e.g. css)
6-
whitelist: ['swagger2openapi', 'reftools', /\.(?!(?:jsx?|json)$).{1,5}$/i],
6+
whitelist: ['swagger2openapi', /reftools/, /\.(?!(?:jsx?|json)$).{1,5}$/i],
77
});
88

99
const VERSION = JSON.stringify(require('./package.json').version);

0 commit comments

Comments
 (0)