1 Star 0 Fork 476

baipengyan / f-render

forked from 张超杰 / f-render 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 480 Bytes
一键复制 编辑 原始数据 按行查看 历史
张超杰 提交于 2020-08-23 21:18 . chore: 更改 publicPath
const path = require("path");
const LodashModuleReplacementPlugin = require("lodash-webpack-plugin");
const isProd = process.env.NODE_ENV === "production";
module.exports = {
publicPath: isProd ? "./" : "/",
configureWebpack: {
entry: path.resolve(__dirname, "./example/main.js"),
resolve: {
alias: {
"f-render": path.resolve(__dirname, "./src/")
}
},
plugins: [new LodashModuleReplacementPlugin()]
},
css: {
extract: false
}
};
JavaScript
1
https://gitee.com/baipengayn/f-render.git
git@gitee.com:baipengayn/f-render.git
baipengayn
f-render
f-render
master

搜索帮助