1
0
réplica de https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 13:19:31 +08:00

update: 移除node_modules依赖

Este commit está contenido en:
小莫唐尼
2024-07-11 11:24:11 +08:00
padre d0b3a42c1d
commit d22224e2fc
Se han modificado 15 ficheros con 45 adiciones y 1284 borrados
+1 -17
Ver fichero
@@ -1,8 +1,4 @@
//vue.config.js
const TransformPages = require('uni-read-pages')
const {
webpack
} = new TransformPages()
module.exports = {
devServer: {
disableHostCheck: true,
@@ -16,17 +12,5 @@ module.exports = {
}
}
}
},
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
const tfPages = new TransformPages({
includes: ['path', 'name', 'aliasPath', "meta"]
});
return JSON.stringify(tfPages.routes)
}, true)
})
]
}
}
}