mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
fix: fix worker is not defined in lib bundle, fixes #485
This commit is contained in:
parent
54937b68d5
commit
6f85cb195a
|
@ -127,7 +127,7 @@ export default (env: { standalone?: boolean } = {}, { mode }) => ({
|
|||
new webpack.BannerPlugin(BANNER),
|
||||
ignore(/js-yaml\/dumper\.js$/),
|
||||
ignore(/json-schema-ref-parser\/lib\/dereference\.js/),
|
||||
ignore(/^\.\/SearchWorker\.worker$/),
|
||||
env.standalone ? ignore(/^\.\/SearchWorker\.worker$/) : ignore(/$non-existing^/),
|
||||
],
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user