mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
Minor fixes on build scripts.
This commit is contained in:
parent
b183be6920
commit
aff352335b
3 changed files with 12 additions and 12 deletions
10
gulpfile.js
10
gulpfile.js
|
@ -69,7 +69,7 @@ gulp.task("scss:main", scssPipeline({
|
|||
|
||||
gulp.task("scss:view", scssPipeline({
|
||||
input: paths.app + "styles/view.scss",
|
||||
output: paths.output + "view/css/"
|
||||
output: paths.output + "css/"
|
||||
}));
|
||||
|
||||
gulp.task("scss", ["scss:main", "scss:view"]);
|
||||
|
@ -107,8 +107,8 @@ gulp.task("template:main", templatePipeline({
|
|||
gulp.task("template:view", templatePipeline({
|
||||
input: paths.app + "view.mustache",
|
||||
output: paths.output + "view/",
|
||||
jspath: "/view/js/view.js",
|
||||
csspath: "/view/css/view.css"
|
||||
jspath: "/js/view.js",
|
||||
csspath: "/css/view.css"
|
||||
}));
|
||||
|
||||
gulp.task("template", ["template:view",
|
||||
|
@ -140,8 +140,8 @@ gulp.task("dist:template:main", templatePipeline({
|
|||
gulp.task("dist:template:view", templatePipeline({
|
||||
input: paths.app + "view.mustache",
|
||||
output: paths.dist + "view/",
|
||||
jspath: "/view/js/main.js",
|
||||
csspath: "/view/css/main.css"
|
||||
jspath: "/js/view.js",
|
||||
csspath: "/css/view.css"
|
||||
}));
|
||||
|
||||
gulp.task("dist:template", ["dist:template:view",
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "dist/view/js/view.js"
|
||||
:source-map "dist/view/js/view.js.map"
|
||||
:output-dir "dist/view/js/view/"
|
||||
:output-to "dist/js/view.js"
|
||||
:source-map "dist/js/view.js.map"
|
||||
:output-dir "dist/js/view/"
|
||||
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
|
||||
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
|
||||
:optimizations :simple
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js/main"
|
||||
:asset-path "js/main"
|
||||
:asset-path "/js/main"
|
||||
:verbose true}}
|
||||
|
||||
{:id "view"
|
||||
|
@ -34,9 +34,9 @@
|
|||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/view/js/view.js"
|
||||
:output-dir "resources/public/view/js/view"
|
||||
:asset-path "js/view"
|
||||
:output-to "resources/public/js/view.js"
|
||||
:output-dir "resources/public/js/view"
|
||||
:asset-path "/js/view"
|
||||
:verbose true}}
|
||||
]})
|
||||
|
||||
|
|
Loading…
Reference in a new issue