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
78d4f269
Commit
78d4f269
authored
Nov 25, 2021
by
gxkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 取消压缩
parent
5a6f8b1a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
webpack.config.js
apps/remix-ide/webpack.config.js
+10
-1
workspace.json
workspace.json
+1
-1
No files found.
apps/remix-ide/webpack.config.js
View file @
78d4f269
const
nxWebpack
=
require
(
'@nrwl/react/plugins/webpack'
)
const
WebpackBar
=
require
(
'webpackbar'
)
const
TerserPlugin
=
require
(
'terser-webpack-plugin'
)
module
.
exports
=
config
=>
{
const
nxWebpackConfig
=
nxWebpack
(
config
)
const
webpackConfig
=
{
...
...
@@ -26,7 +27,15 @@ module.exports = config => {
// deleteOriginalAssets: false // 删除原文件true=删
// }))
return
{
...
webpackConfig
...
webpackConfig
,
optimization
:
{
minimizer
:
[
new
TerserPlugin
({
cache
:
true
,
parallel
:
true
})
]
}
}
}
else
{
webpackConfig
.
devServer
=
{
...
...
workspace.json
View file @
78d4f269
...
...
@@ -99,7 +99,7 @@
"with"
:
"apps/remix-ide/src/environments/environment.prod.js"
}
],
"optimization"
:
tru
e
,
"optimization"
:
fals
e
,
"outputHashing"
:
"all"
,
"sourceMap"
:
false
,
"extractCss"
:
true
,
...
...
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