Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d5e4c720
Commit
d5e4c720
authored
May 04, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truncate long chunkhashes within filenames
parent
7e54e7aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
config/webpack.config.js
config/webpack.config.js
+6
-6
No files found.
config/webpack.config.js
View file @
d5e4c720
...
@@ -72,8 +72,8 @@ const config = {
...
@@ -72,8 +72,8 @@ const config = {
output
:
{
output
:
{
path
:
path
.
join
(
ROOT_PATH
,
'
public/assets/webpack
'
),
path
:
path
.
join
(
ROOT_PATH
,
'
public/assets/webpack
'
),
publicPath
:
'
/assets/webpack/
'
,
publicPath
:
'
/assets/webpack/
'
,
filename
:
IS_PRODUCTION
?
'
[name].[chunkhash].bundle.js
'
:
'
[name].bundle.js
'
,
filename
:
IS_PRODUCTION
?
'
[name].[chunkhash
:8
].bundle.js
'
:
'
[name].bundle.js
'
,
chunkFilename
:
IS_PRODUCTION
?
'
[name].[chunkhash].chunk.js
'
:
'
[name].chunk.js
'
,
chunkFilename
:
IS_PRODUCTION
?
'
[name].[chunkhash
:8
].chunk.js
'
:
'
[name].chunk.js
'
,
globalObject
:
'
this
'
,
// allow HMR and web workers to play nice
globalObject
:
'
this
'
,
// allow HMR and web workers to play nice
},
},
...
@@ -133,7 +133,7 @@ const config = {
...
@@ -133,7 +133,7 @@ const config = {
{
{
loader
:
'
worker-loader
'
,
loader
:
'
worker-loader
'
,
options
:
{
options
:
{
name
:
'
[name].[hash].worker.js
'
,
name
:
'
[name].[hash
:8
].worker.js
'
,
},
},
},
},
'
babel-loader
'
,
'
babel-loader
'
,
...
@@ -144,7 +144,7 @@ const config = {
...
@@ -144,7 +144,7 @@ const config = {
exclude
:
/node_modules/
,
exclude
:
/node_modules/
,
loader
:
'
file-loader
'
,
loader
:
'
file-loader
'
,
options
:
{
options
:
{
name
:
'
[name].[hash].[ext]
'
,
name
:
'
[name].[hash
:8
].[ext]
'
,
},
},
},
},
{
{
...
@@ -155,7 +155,7 @@ const config = {
...
@@ -155,7 +155,7 @@ const config = {
{
{
loader
:
'
css-loader
'
,
loader
:
'
css-loader
'
,
options
:
{
options
:
{
name
:
'
[name].[hash].[ext]
'
,
name
:
'
[name].[hash
:8
].[ext]
'
,
},
},
},
},
],
],
...
@@ -165,7 +165,7 @@ const config = {
...
@@ -165,7 +165,7 @@ const config = {
include
:
/node_modules
\/
katex
\/
dist
\/
fonts/
,
include
:
/node_modules
\/
katex
\/
dist
\/
fonts/
,
loader
:
'
file-loader
'
,
loader
:
'
file-loader
'
,
options
:
{
options
:
{
name
:
'
[name].[hash].[ext]
'
,
name
:
'
[name].[hash
:8
].[ext]
'
,
},
},
},
},
{
{
...
...
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