1.0.3 • Published 4 years ago

hyvue-builder v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

weForward项目构建依赖插件

需要配合weForward项目的配置文件使用

//vue.config.js

const isProduction = process.env.NODE_ENV === 'production';
module.exports = {
	publicPath: isProduction ? (process.env.VUE_APP_TEM_BUILDPATHNAME + '/') : '/',
	devServer: {
		//前端页面的访问端口
		port: process.env.VUE_APP_HY_HOST_PORT,
	},
	configureWebpack: config => {
		if (isProduction) {
			const hyVueBuilder = require('hyvue-builder');
			config.plugins.push(new hyVueBuilder());
		}
	},
	filenameHashing: true,
	productionSourceMap: false
}
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago