Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
68d82685
Commit
68d82685
authored
Nov 24, 2021
by
gxkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: 加入打包压缩
parent
40920fe0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
webpack.config.js
apps/remix-ide/webpack.config.js
+7
-7
No files found.
apps/remix-ide/webpack.config.js
View file @
68d82685
...
@@ -38,15 +38,15 @@ module.exports = config => {
...
@@ -38,15 +38,15 @@ module.exports = config => {
deleteOriginalAssets
:
false
// 删除原文件true=删
deleteOriginalAssets
:
false
// 删除原文件true=删
}))
}))
return
{
return
{
...
webpackConfig
,
...
webpackConfig
// mode: 'production',
// mode: 'production',
// devtool: 'nosources-cheap-module-source-map',
// devtool: 'nosources-cheap-module-source-map',
optimization
:
{
//
optimization: {
minimize
:
true
,
//
minimize: true,
minimizer
:
[
new
TerserPlugin
({
//
minimizer: [new TerserPlugin({
parallel
:
false
//
parallel: false
})]
//
})]
}
//
}
}
}
}
else
{
}
else
{
return
webpackConfig
return
webpackConfig
...
...
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