Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
testspark317
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
testspark317
Commits
c8940c5a
Commit
c8940c5a
authored
Mar 17, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e2ecc459
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
webpack.common.config.js
project/config/webpack.common.config.js
+0
-2
index.html
project/public/index.html
+9
-3
sparkrc.js
project/sparkrc.js
+1
-1
sparkrescfg.json
project/sparkrescfg.json
+1
-1
No files found.
project/config/webpack.common.config.js
View file @
c8940c5a
...
...
@@ -11,8 +11,6 @@ const TerserPlugin = require("terser-webpack-plugin");
const
OptimizeCSSAssetsPlugin
=
require
(
"optimize-css-assets-webpack-plugin"
);
const
ProgressBarPlugin
=
require
(
"progress-bar-webpack-plugin"
);
const
HtmlJsToES5Plugin
=
require
(
"./HtmlJsToES5Plugin"
);
module
.
exports
=
function
(
isProd
)
{
const
appPath
=
process
.
cwd
();
...
...
project/public/index.html
View file @
c8940c5a
...
...
@@ -9,10 +9,16 @@
<script
src=
"//yun.duiba.com.cn/js-libs/rem/1.1.3/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<script>
let
a
=
()
=>
{
console
.
log
(
a
);
console
.
log
(
`
${
123
}
456
${
789
}
`
)
const
[
a
,
b
]
=
[
1
,
2
]
</script>
<script>
let
testFunc2
=
()
=>
{
const
str2
=
'hello'
;
console
.
log
(
str2
)
}
</script>
<script>
function
getApp
()
{
return
{
...
...
project/sparkrc.js
View file @
c8940c5a
...
...
@@ -9,5 +9,5 @@ module.exports ={
"IMAGE_Q1"
:
0.6
,
"IMAGE_Q2"
:
0.8
,
"RES_PATH"
:
"/src/assets/"
,
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/sparkproject-1615946260312/161596
3701459
"
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/sparkproject-1615946260312/161596
7724737
"
}
\ No newline at end of file
project/sparkrescfg.json
View file @
c8940c5a
{
"assetsPathArr"
:[
"//yun.duiba.com.cn/spark/v2/sparkproject-1615946260312/1615963701459/index/index_bg.png"
]}
\ No newline at end of file
{
"assetsPathArr"
:[
"//yun.duiba.com.cn/spark/v2/sparkproject-1615946260312/1615967724737/index/index_bg.png"
]}
\ No newline at end of file
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