Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mastofe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Haelwenn
mastofe
Commits
231377a5
Verified
Commit
231377a5
authored
Mar 31, 2018
by
Morgan Bazalgette
Committed by
Haelwenn
Sep 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bundle analyzer, remove chunk hashes from css
parent
e3f1c083
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
config/webpack/production.js
config/webpack/production.js
+0
-10
config/webpack/shared.js
config/webpack/shared.js
+1
-1
No files found.
config/webpack/production.js
View file @
231377a5
...
...
@@ -73,16 +73,6 @@ module.exports = merge(sharedConfig, {
algorithm
:
compressionAlgorithm
,
test
:
/
\.(
js|css|html|json|ico|svg|eot|otf|ttf
)
$/
,
}),
new
BundleAnalyzerPlugin
({
// generates report.html and stats.json
analyzerMode
:
'
static
'
,
generateStatsFile
:
true
,
statsOptions
:
{
// allows usage with http://chrisbateman.github.io/webpack-visualizer/
chunkModules
:
true
,
},
openAnalyzer
:
false
,
logLevel
:
'
silent
'
,
// do not bother Webpacker, who runs with --json and parses stdout
}),
new
OfflinePlugin
({
publicPath
:
publicPath
,
// sw.js must be served from the root to avoid scope issues
caches
:
{
...
...
config/webpack/shared.js
View file @
231377a5
...
...
@@ -98,7 +98,7 @@ module.exports = {
}
),
new
MiniCssExtractPlugin
({
filename
:
env
.
NODE_ENV
===
'
production
'
?
'
[name]-[contenthash].css
'
:
'
[name].css
'
,
filename
:
'
[name].css
'
,
}),
new
ManifestPlugin
({
publicPath
:
output
.
publicPath
,
...
...
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