panlinlin
2021-04-19 fe98e57fc4350ddc2220b5f6f2201d0d73573c01
web_src/build/webpack.prod.conf.js
@@ -46,7 +46,7 @@
      filename: utils.assetsPath('css/[name].[contenthash].css'),
      // Setting the following option to `false` will not extract CSS from codesplit chunks.
      // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
      // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
      // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
      // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
      allChunks: true,
    }),
@@ -115,9 +115,8 @@
        to: config.build.assetsSubDirectory,
        ignore: ['.*']
      },
      { from: 'node_modules/@liveqing/liveplayer/dist/component/crossdomain.xml'},
      { from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer.swf'},
      { from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer-lib.min.js', to: 'js/'}
      { from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm', to: 'static/'},
      { from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'static/js/'}
    ])
  ]
})