webpack.config.js 548 B

123456789101112131415161718192021222324
  1. // const path = require('path');
  2. //
  3. // module.exports = {
  4. // resolve: {
  5. // fallback: {
  6. // "https": require.resolve("https-browserify"),
  7. // "http": require.resolve("stream-http"),
  8. // "child_process": require.resolve("child_process"),
  9. // "fs": require.resolve("fs")
  10. // }
  11. // },
  12. //
  13. // // 其他配置选项...
  14. //
  15. // // 添加以下配置
  16. // node: {
  17. // global: true,
  18. // crypto: 'empty',
  19. // process: true,
  20. // module: false,
  21. // clearImmediate: false,
  22. // setImmediate: false,
  23. // },
  24. // };