Skip to content
代码片段 群组 项目
选择Git版本
  • 6ff2e4d55002cca7ed836dfb39fdf0c82a7f615a
  • master 默认 受保护
  • flipflop-stream
  • asset-management
  • cache-index-json-locales
  • expand_sampler_cfg_function
  • worksplit-multigpu
  • dd
  • diffdiff-strength
  • error-catch-fix
  • attention-select
  • fix-context-window-slicing
  • combo-output
  • clarify-io-typehint
  • fix-easycache-logs
  • js/progress-crossover-fix-clean
  • js/progress-crossover-fix
  • sortblock
  • gemini-image
  • easycache
  • node-memory-reserve
  • v0.3.64
  • v0.3.63
  • v0.3.62
  • v0.3.61
  • v0.3.60
  • v0.3.59
  • v0.3.58
  • v0.3.57
  • v0.3.56
  • v0.3.55
  • v0.3.54
  • v0.3.53
  • v0.3.52
  • v0.3.51
  • v0.3.50
  • v0.3.49
  • v0.3.48
  • v0.3.47
  • v0.3.46
  • v0.3.45
41 个结果

comfyui_colab.ipynb

Blame
  • 代码所有者
    将用户和群组指定为特定文件更改的核准人。 了解更多。
    webpack.vendor.config.js 2.21 KiB
    const path = require('path');
    const webpack = require('webpack');
    const { YarnCheck } = require('yarn-check-webpack-plugin');
    const vendorDllHash = require('./helpers/vendor_dll_hash');
    
    const ROOT_PATH = path.resolve(__dirname, '..');
    
    const dllHash = vendorDllHash();
    const dllCachePath = path.join(ROOT_PATH, `tmp/cache/webpack-dlls/${dllHash}`);
    const dllPublicPath = `/assets/webpack/dll.${dllHash}/`;
    
    module.exports = {
      mode: 'development',
      resolve: {
        extensions: ['.js'],
        alias: {
          jquery$: 'jquery/dist/jquery.slim.js',
        },
      },
    
      // ensure output is not generated when errors are encountered
      bail: true,
    
      context: ROOT_PATH,
    
      entry: {
        vendor: [
          '@apollo/client/core',
          '@gitlab/at.js',
          'core-js',
          'dexie',
          'dompurify',
          'echarts',
          'jed',
          'jquery/dist/jquery.slim.js',
          'katex',
          'lodash',
          'mousetrap',
          'pikaday',
          'popper.js',
          'sortablejs/modular/sortable.esm.js',
          'source-map',
          'three',
          'vue',
          'vuex',
        ],
      },
    
      output: {
        path: dllCachePath,
        publicPath: dllPublicPath,
        filename: '[name].dll.bundle.js',
        chunkFilename: '[name].dll.chunk.js',
        library: '[name]_[hash]',
      },
    
      plugins: [
        new webpack.DllPlugin({
          path: path.join(dllCachePath, '[name].dll.manifest.json'),
          name: '[name]_[hash]',
        }),
        new YarnCheck({
          rootDirectory: ROOT_PATH,
          exclude: new RegExp(
            [
              /*
              chokidar has a newer version which do not depend on fsevents,
              is faster and only compatible with newer node versions (>=8)
    
              Their actual interface remains the same and we can safely _force_
              newer versions to get performance and security benefits.
    
              This can be removed once all dependencies are up to date:
              https://gitlab.com/gitlab-org/gitlab/-/issues/219353
              */
              'chokidar',
              // We are ignoring ts-jest, because we force a newer version, compatible with our current jest version
              'ts-jest',
            ].join('|'),
          ),
          forceKill: true,
        }),
      ],
    
      node: {
        fs: 'empty', // sqljs requires fs
        setImmediate: false,
      },
    
      devtool: 'cheap-module-source-map',
    };