| | |
| | | <meta charset="utf-8" /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| | | <meta name="viewport" content="width=device-width,initial-scale=1.0" /> |
| | | <link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.faviconPath%>" sizes="32x32" /> |
| | | <link rel="icon" type="image/png" href="<%= BASE_URL %>favicon.png" sizes="32x32" /> |
| | | <link rel="stylesheet" href="/fonts/alibaba/iconfont.css"> |
| | | <title><%= htmlWebpackPlugin.options.title %></title> |
| | | |
| | |
| | | entry: path, |
| | | template: 'public/index.html', |
| | | title: chunk == 'desktop/index' ? 'SmartAI' : chunk, |
| | | chunks: [chunk_vendor, 'chunk-common', chunk], |
| | | faviconPath: "favicon.png" |
| | | chunks: [chunk_vendor, 'chunk-common', chunk] |
| | | } |
| | | if (chunk != 'index') { |
| | | pages[chunk].filename = 'view/' + chunk + '.html' |
| | |
| | | }, |
| | | productionSourceMap: false, |
| | | filenameHashing: false, |
| | | pwa: { |
| | | iconPaths: { |
| | | favicon32: 'favicon.ico', |
| | | favicon16: 'favicon.ico' |
| | | } |
| | | }, |
| | | devServer: { |
| | | proxy: { |
| | | '/track': { |