Closed kazupon closed 3 years ago
I've added reproduction codes https://github.com/kazupon/uniroll-playground/commit/53ee4892288f68d3f15c30773318079fed60cfb4
I've just avoided with using IgnorePlugin
https://github.com/kazupon/uniroll-playground/commit/7b5015d810135afe4a8329bdb5f83965958e3f70#diff-11e9f7f953edc64ba14b0cc350ae7b9dR64
However, It’s occured another problem. the worker did not work properly... 🤔
For some reason, the globalObject
option of the worker-plugin doesn't seem to be passed on to webpack.
We worked around it by adding a configuration to the output.globalObject
of the webpack.
close due to self resolution
It happens when you try the following playground example: https://github.com/mizchi/uniroll-playground
output console:
Module not found: Error: Can't resolve 'fs'
was avoided around withnode: { fs: 'empty' }
. ForERROR in ./node_modules/fsevents/fsevents.node 1:0
, I tried to get around it by usingexternals
, so I seem it useschokidar
in rollup, but I couldn't work around it.How to work around this issue in webpack? 🙏