Commit 04c6ab6b authored by 王纵's avatar 王纵

去掉console

parent a7a8eadb
...@@ -7,8 +7,6 @@ const pkg = require('../package.json') ...@@ -7,8 +7,6 @@ const pkg = require('../package.json')
const myTheme = path.resolve(__dirname, "../src/Dynamic/vars.less"); const myTheme = path.resolve(__dirname, "../src/Dynamic/vars.less");
console.log('__dirname', __dirname, myTheme)
exports.assetsPath = function (_path) { exports.assetsPath = function (_path) {
const assetsSubDirectory = process.env.NODE_ENV === 'production' const assetsSubDirectory = process.env.NODE_ENV === 'production'
? config.build.assetsSubDirectory ? config.build.assetsSubDirectory
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: zong.wang01@hand-china.com * @Author: zong.wang01@hand-china.com
* @Date: 2024-07-29 10:10:04 * @Date: 2024-07-29 10:10:04
* @LastEditors: zong.wang01@hand-china.com * @LastEditors: zong.wang01@hand-china.com
* @LastEditTime: 2024-08-06 10:25:30 * @LastEditTime: 2024-08-22 15:56:20
* @Version: 1.0.0 * @Version: 1.0.0
* @Description: * @Description:
* @Copyright: Copyright (c) 2021, Hand-RongJing * @Copyright: Copyright (c) 2021, Hand-RongJing
...@@ -60,7 +60,6 @@ const devWebpackConfig = merge(baseWebpackConfig, { ...@@ -60,7 +60,6 @@ const devWebpackConfig = merge(baseWebpackConfig, {
}), }),
] ]
}) })
console.log(JSON.stringify(devWebpackConfig))
module.exports = new Promise((resolve, reject) => { module.exports = new Promise((resolve, reject) => {
portfinder.basePort = process.env.PORT || config.dev.port portfinder.basePort = process.env.PORT || config.dev.port
portfinder.getPort((err, port) => { portfinder.getPort((err, port) => {
......
...@@ -10,7 +10,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin') ...@@ -10,7 +10,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin')
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
//console.log(config)
const env = require(`../config/${config.ENV}.env`) const env = require(`../config/${config.ENV}.env`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment