|  |  |  | 
|---|
|  |  |  | contentBase: false, // since we use CopyWebpackPlugin. | 
|---|
|  |  |  | compress: true, | 
|---|
|  |  |  | host: HOST || config.dev.host, | 
|---|
|  |  |  | // host:'127.0.0.1', | 
|---|
|  |  |  | port: PORT || config.dev.port, | 
|---|
|  |  |  | open: config.dev.autoOpenBrowser, | 
|---|
|  |  |  | overlay: config.dev.errorOverlay | 
|---|
|  |  |  | 
|---|
|  |  |  | from: path.resolve(__dirname, '../static'), | 
|---|
|  |  |  | to: config.dev.assetsSubDirectory, | 
|---|
|  |  |  | ignore: ['.*'] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ]), | 
|---|
|  |  |  | new CopyWebpackPlugin([ | 
|---|
|  |  |  | { 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/@liveqing/liveplayer/dist/component/liveplayer-lib.min.js', to: config.build.assetsSubDirectory + '/js/'}, | 
|---|
|  |  |  | ]) | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | }) | 
|---|