Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
easyUI
hls-easy-ui
Commits
04c6ab6b
Commit
04c6ab6b
authored
Aug 22, 2024
by
王纵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉console
parent
a7a8eadb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
utils.js
build/utils.js
+0
-2
webpack.dev.conf.js
build/webpack.dev.conf.js
+1
-2
webpack.prod.conf.js
build/webpack.prod.conf.js
+0
-1
No files found.
build/utils.js
View file @
04c6ab6b
...
...
@@ -7,8 +7,6 @@ const pkg = require('../package.json')
const
myTheme
=
path
.
resolve
(
__dirname
,
"../src/Dynamic/vars.less"
);
console
.
log
(
'__dirname'
,
__dirname
,
myTheme
)
exports
.
assetsPath
=
function
(
_path
)
{
const
assetsSubDirectory
=
process
.
env
.
NODE_ENV
===
'production'
?
config
.
build
.
assetsSubDirectory
...
...
build/webpack.dev.conf.js
View file @
04c6ab6b
...
...
@@ -2,7 +2,7 @@
* @Author: zong.wang01@hand-china.com
* @Date: 2024-07-29 10:10:04
* @LastEditors: zong.wang01@hand-china.com
* @LastEditTime: 2024-08-
06 10:25:3
0
* @LastEditTime: 2024-08-
22 15:56:2
0
* @Version: 1.0.0
* @Description:
* @Copyright: Copyright (c) 2021, Hand-RongJing
...
...
@@ -60,7 +60,6 @@ const devWebpackConfig = merge(baseWebpackConfig, {
}),
]
})
console
.
log
(
JSON
.
stringify
(
devWebpackConfig
))
module
.
exports
=
new
Promise
((
resolve
,
reject
)
=>
{
portfinder
.
basePort
=
process
.
env
.
PORT
||
config
.
dev
.
port
portfinder
.
getPort
((
err
,
port
)
=>
{
...
...
build/webpack.prod.conf.js
View file @
04c6ab6b
...
...
@@ -10,7 +10,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
const
ExtractTextPlugin
=
require
(
'extract-text-webpack-plugin'
)
const
OptimizeCSSPlugin
=
require
(
'optimize-css-assets-webpack-plugin'
)
//console.log(config)
const
env
=
require
(
`../config/
${
config
.
ENV
}
.env`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment