Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
5fefabce39838e7bb021acf0119067ede353c51b
1 parent
33e8eb31
commit
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
build/webpack.base.conf.js
build/webpack.client.conf.js
build/webpack.base.conf.js
View file @
5fefabc
...
...
@@ -6,9 +6,9 @@ const distDir = path.join(__dirname, `../public/dist/${pkg.name}/bundle`);
module
.
exports
=
{
output
:
{
filename
:
'
bundle/
static/js/[name].[chunkhash].js'
,
filename
:
'static/js/[name].[chunkhash].js'
,
path
:
`
$
{
distDir
}
`
,
chunkFilename
:
'
bundle/
static/js/[name].[chunkhash].js'
,
chunkFilename
:
'static/js/[name].[chunkhash].js'
,
publicPath
:
'/'
},
resolve
:
{
...
...
build/webpack.client.conf.js
View file @
5fefabc
...
...
@@ -65,7 +65,7 @@ if (process.env.NODE_ENV === 'production') {
parallel
:
true
,
sourceMap
:
true
}));
webpackConfig
.
output
.
publicPath
=
'//cdn.yoho.cn/yohoblk-wap/'
;
webpackConfig
.
output
.
publicPath
=
'//cdn.yoho.cn/yohoblk-wap/
bundle/
'
;
}
module
.
exports
=
webpackConfig
;
...
...
Please
register
or
login
to post a comment