Skip to content

Commit

Permalink
Revert "test: [doc] 复杂场景打包测试"
Browse files Browse the repository at this point in the history
This reverts commit 565ce1697b5d37aff9ae9f5207e0bded6d7b3663.
  • Loading branch information
imsunhao committed Aug 23, 2019
1 parent 367b8d5 commit 948d3fb
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 6,849 deletions.
14 changes: 1 addition & 13 deletions doc/build/webpack.client.conf.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,8 @@ export default function(config, { resolve }) {
output: {
globalObject: 'this',
},
optimization: {
splitChunks: {
cacheGroups: {
utils: {
name: 'utils',
test: /src[\\/]utils[\\/]/,
chunks: 'all',
enforce: true
}
}
}
},
plugins: [
new BundleAnalyzerPlugin()
// new BundleAnalyzerPlugin()
]
}
}
41 changes: 0 additions & 41 deletions doc/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ Vue.use(Router)
// Home Page
const HomePage = () => import('../views/index.vue')
const EditorPage = () => import('../views/Editor.vue')
const EditorPage1 = () => import('../views/Editor copy.vue')
const EditorPage2 = () => import('../views/Editor copy 2.vue')
const EditorPage3 = () => import('../views/Editor copy 3.vue')
const EditorPage4 = () => import('../views/Editor copy 4.vue')
const EditorPage5 = () => import('../views/Editor copy 5.vue')
const EditorPage6 = () => import('../views/Editor copy 6.vue')
const EditorPage7 = () => import('../views/Editor copy 7.vue')
const EditorPage8 = () => import('../views/Editor copy 8.vue')
const EditorPage9 = () => import('../views/Editor copy 9.vue')

export function createRouter(store) {
return new Router({
Expand All @@ -32,38 +23,6 @@ export function createRouter(store) {
name: 'editor',
component: EditorPage,
},
{
path: '/editor1',
component: EditorPage1,
},
{
path: '/editor2',
component: EditorPage2,
},
{
path: '/editor3',
component: EditorPage3,
},
{
path: '/editor4',
component: EditorPage4,
},
{
path: '/editor5',
component: EditorPage5,
},
{
path: '/editor6',
component: EditorPage6,
},
{
path: '/editor7',
component: EditorPage7,
},
{
path: '/editor8',
component: EditorPage8,
},
],
})
}
Loading

0 comments on commit 948d3fb

Please sign in to comment.