Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
baiguangyao
mr-julyedu
Commits
a87cf93c
Commit
a87cf93c
authored
Aug 27, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包目录修改
parent
5082d07b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/webpack.config.js
+2
-2
No files found.
config/webpack.config.js
View file @
a87cf93c
...
@@ -166,11 +166,11 @@ module.exports = function(webpackEnv) {
...
@@ -166,11 +166,11 @@ module.exports = function(webpackEnv) {
// In development, it does not produce real files.
// In development, it does not produce real files.
filename
:
isEnvProduction
filename
:
isEnvProduction
?
'mrstatic/js/[name].[contenthash:8].js'
?
'mrstatic/js/[name].[contenthash:8].js'
:
isEnvDevelopment
&&
'static/js/bundle.js'
,
:
isEnvDevelopment
&&
'
mr
static/js/bundle.js'
,
// There are also additional JS chunk files if you use code splitting.
// There are also additional JS chunk files if you use code splitting.
chunkFilename
:
isEnvProduction
chunkFilename
:
isEnvProduction
?
'mrstatic/js/[name].[contenthash:8].chunk.js'
?
'mrstatic/js/[name].[contenthash:8].chunk.js'
:
isEnvDevelopment
&&
'static/js/[name].chunk.js'
,
:
isEnvDevelopment
&&
'
mr
static/js/[name].chunk.js'
,
// We inferred the "public path" (such as / or /my-project) from homepage.
// We inferred the "public path" (such as / or /my-project) from homepage.
// We use "/" in development.
// We use "/" in development.
publicPath
:
publicPath
,
publicPath
:
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