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
ccbikai
9 years ago
Commit
e04d26d5cd9dbe2d0d2c93b75060cbed0c24ac2b
1 parent
4a408e73
完善前端依赖
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
package.json
public/webpack.config.js
package.json
View file @
e04d26d
...
...
@@ -47,7 +47,9 @@
"autoprefixer"
:
"^6.3.7"
,
"babel-core"
:
"^6.11.4"
,
"babel-loader"
:
"^6.2.4"
,
"babel-plugin-transform-runtime"
:
"^6.12.0"
,
"babel-preset-es2015"
:
"^6.9.0"
,
"babel-runtime"
:
"^6.11.6"
,
"eslint"
:
"^3.2.0"
,
"eslint-config-yoho"
:
"^1.0.1"
,
"eslint-plugin-html"
:
"^1.5.1"
,
...
...
public/webpack.config.js
View file @
e04d26d
...
...
@@ -22,9 +22,10 @@ shelljs.ls(path.join(__dirname, 'js/**/*.page.js')).forEach((f) => {
// 生成规则:module.page: './js/module/xx.page.js'
entries
[
`
$
{
dir
[
0
]}.
$
{
dir
[
1
].
match
(
/
(
.*
)
.page.js/
)[
1
]}
`
]
=
`
.
/
js
/
$
{
dir
.
join
(
'/'
)}
`
;
entries
.
libs
=
[
'jquery'
,
'yoho-qs'
,
'yoho-cookie'
,
'jquery'
,
'handlebars'
,
'vue'
,
'vue-lazyload'
,
'vue-swipe'
,
...
...
Please
register
or
login
to post a comment