{"size": 1207, "ext": "js", "max_stars_repo_path": "vue.config.js", "max_stars_repo_name": "Amero0610/vue-demo-1", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "vue.config.js", "max_issues_repo_name": "Amero0610/vue-demo-1", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "vue.config.js", "max_forks_repo_name": "Amero0610/vue-demo-1", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.14, "max_line_length": 48, "alphanum_fraction": 0.4183927092}
/*
 * @Author: Amero
 * @Date: 2022-01-11 23:03:22
 * @LastEditors: Amero
 * @LastEditTime: 2022-02-11 02:17:23
 * @FilePath: \vue-demo-1\vue.config.js
 */

module.exports = {
    configureWebpack: { externals: 'hls.js' },
    publicPath: './',
    pwa: {
        iconPaths: {
            favicon32: 'favicon.ico',
            favicon16: 'favicon.ico',
            appleTouchIcon: 'favicon.ico',
            maskIcon: 'favicon.ico',
            msTileImage: 'favicon.ico'
        }
    },
    chainWebpack: config => {
        config.module
            .rule('graphql')
            .test(/\.pdf$/)
            .use('file-loader').tap(options => {
                options = {
                    name: '[name].[ext]'
                }
                return options
            })
            .loader('file-loader')
            .end()
        config.module.rule('lrcloader')
            .test(/\.lrc$/)
            .use('file-loader')
            .tap(options => {
                options = {
                    name: '[name].[ext]'
                }
                return options
            })
            .loader('file-loader')
            .end()

    },
    
    css: {
        extract: false
      }
}