Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
ccbikai
2016-06-18 18:15:26 +0800
Commit
01b7525443651cd065a2b974a141e84a29e16efd
1 parent
1c8fa272
完善打包脚本
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
public/webpack.config.js
public/webpack.config.js
View file @
01b7525
...
...
@@ -44,6 +44,11 @@ module.exports = {
new
webpack
.
optimize
.
CommonsChunkPlugin
({
name
:
'libs'
,
filename
:
'libs.js'
}),
new
webpack
.
ProvidePlugin
({
$
:
'yoho-jquery'
,
jQuery
:
'yoho-jquery'
,
'window.jQuery'
:
'yoho-jquery'
})
]
};
...
...
Please
register
or
login
to post a comment