fix
This commit is contained in:
@@ -4,10 +4,17 @@ import dayjs from 'dayjs';
|
||||
import path from 'path';
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'development';
|
||||
const isWebDev = process.env.WEB_DEV === 'true';
|
||||
const BUILD_TIME = dayjs().format('YYYY-MM-DD HH:mm:ss');
|
||||
let plugins = [];
|
||||
|
||||
if (!isWebDev) {
|
||||
// 在bolt的web开发环境下不需要ssl
|
||||
plugins.push(basicSsl());
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [basicSsl()],
|
||||
plugins: [],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
|
||||
Reference in New Issue
Block a user