修改定位方式为固定定位,修正定位位置

This commit is contained in:
2023-08-18 16:54:10 +08:00
parent 05dc278d28
commit e7e9ee2a65
8 changed files with 150692 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
const pkg = require('../package.json');
const pkg = require('../package.json');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
@@ -7,14 +7,14 @@ const {
CleanWebpackPlugin
} = require('clean-webpack-plugin');
const isProd = process.env.NODE_ENV === 'prod';
const banner =
`@Title: ${pkg.name}
@Version: ${pkg.version}
@Description基于layui的多选解决方案
@Site: https://gitee.com/maplemei/xm-select
@Author: maplemei
const isProd = process.env.NODE_ENV === 'prod';
const banner =
`@Title: ${pkg.name}
@Version: ${pkg.version}
@Description基于layui的多选解决方案
@Site: https://gitee.com/maplemei/xm-select
@Author: maplemei
@LicenseApache License 2.0`;
const webpackConfig = {
@@ -90,12 +90,12 @@ const webpackConfig = {
minify: {
collapseWhitespace: true
}
}),
new webpack.BannerPlugin(banner),
}),
new webpack.BannerPlugin(banner),
new VueLoaderPlugin(),
],
optimization: {
minimize: true,//可以自行配置是否压缩
],
optimization: {
minimize: false,//可以自行配置是否压缩
},
devServer: {
host: '0.0.0.0',
@@ -112,4 +112,4 @@ if (isProd) {
}
module.exports = webpackConfig;
module.exports = webpackConfig;