修改打包配置i

This commit is contained in:
wanglin 2021-07-14 07:34:06 +08:00
parent 42755cac8a
commit b886a0572d
39 changed files with 5 additions and 38 deletions

View File

@ -33,4 +33,5 @@ npm run serve
```bash
cd web
npm run build
```
```
然后把index.html移到根目录

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 695 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>思绪_一个极简的在线思维导图</title><link href="/css/app.2e093b6e.css" rel="preload" as="style"><link href="/css/chunk-vendors.37b3d8f8.css" rel="preload" as="style"><link href="/js/app.6f48651b.js" rel="preload" as="script"><link href="/js/chunk-vendors.52f014f8.js" rel="preload" as="script"><link href="/css/chunk-vendors.37b3d8f8.css" rel="stylesheet"><link href="/css/app.2e093b6e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.52f014f8.js"></script><script src="/js/app.6f48651b.js"></script></body></html>
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>思绪_一个极简的在线思维导图</title><link href="mind-map/dist/css/app.2e093b6e.css" rel="preload" as="style"><link href="mind-map/dist/css/chunk-vendors.37b3d8f8.css" rel="preload" as="style"><link href="mind-map/dist/js/app.523844ef.js" rel="preload" as="script"><link href="mind-map/dist/js/chunk-vendors.52f014f8.js" rel="preload" as="script"><link href="mind-map/dist/css/chunk-vendors.37b3d8f8.css" rel="stylesheet"><link href="mind-map/dist/css/app.2e093b6e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="mind-map/dist/js/chunk-vendors.52f014f8.js"></script><script src="mind-map/dist/js/app.523844ef.js"></script></body></html>

View File

@ -1,6 +1,8 @@
const path = require('path');
module.exports = {
publicPath: 'mind-map/dist',
outputDir: '../dist',
lintOnSave: false,
productionSourceMap: false,
configureWebpack: {