Open TBenedyk opened 2 years ago
👍🏻 same here
Same Problem here. Would be cool if there were a way to specify a webpack-config-file or something like that.
I got a similar problem and solved it by installing the missing dependencies which in your case would be path-browserify
but now when it builds webpacks are still referencing node_modules outside of the dist directory after running xt-build
I used https://github.com/dutiyesh/chrome-extension-cli and installed https://github.com/Richienb/node-polyfill-webpack-plugin and that fixed the polyfill problem.
I do see the same problem, unable to have a custom webpack config
I'm trying to use
ejs
in my content script but getting an error related to using webpack 5. The solution it says is to add a polyfill to webpack.config.js. But I can't figure out how to do this usingextension-cli
as the config file is not generated and looking at the gulpfile it seems there's no simple way to add one.The error output is
So it looks like I just need to have a config file with the following...
Is there currently a way to do this?