Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
18734f61
Commit
18734f61
authored
Jul 01, 2016
by
Nick Stenning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove site bundles from gulpfile and vendor bundle script
parent
e25710c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
gulpfile.js
gulpfile.js
+0
-18
vendor-bundles.js
scripts/gulp/vendor-bundles.js
+0
-1
No files found.
gulpfile.js
View file @
18734f61
...
@@ -106,18 +106,6 @@ var appBundles = [{
...
@@ -106,18 +106,6 @@ var appBundles = [{
name
:
'injector'
,
name
:
'injector'
,
entry
:
'./h/static/scripts/annotator/main'
,
entry
:
'./h/static/scripts/annotator/main'
,
transforms
:
[
'coffee'
],
transforms
:
[
'coffee'
],
},{
// Public-facing website
name
:
'site'
,
entry
:
'./h/static/scripts/site'
,
},{
// Admin areas of the site
name
:
'admin-site'
,
entry
:
'./h/static/scripts/admin-site'
,
},{
// Legacy site bundle (for old homepage)
name
:
'legacy-site'
,
entry
:
'./h/static/scripts/legacy-site'
,
}];
}];
var
appBundleConfigs
=
appBundles
.
map
(
function
(
config
)
{
var
appBundleConfigs
=
appBundles
.
map
(
function
(
config
)
{
...
@@ -155,21 +143,15 @@ gulp.task('watch-extension-js', ['build-vendor-js'], function () {
...
@@ -155,21 +143,15 @@ gulp.task('watch-extension-js', ['build-vendor-js'], function () {
var
styleFiles
=
[
var
styleFiles
=
[
// H
// H
'./h/static/styles/admin.scss'
,
'./h/static/styles/annotator/inject.scss'
,
'./h/static/styles/annotator/inject.scss'
,
'./h/static/styles/annotator/pdfjs-overrides.scss'
,
'./h/static/styles/annotator/pdfjs-overrides.scss'
,
'./h/static/styles/app.scss'
,
'./h/static/styles/app.scss'
,
'./h/static/styles/front-page/main.css'
,
'./h/static/styles/help-page.scss'
,
'./h/static/styles/site.scss'
,
'./h/static/styles/old-home.scss'
,
// Vendor
// Vendor
'./h/static/styles/vendor/angular-csp.css'
,
'./h/static/styles/vendor/angular-csp.css'
,
'./h/static/styles/vendor/icomoon.css'
,
'./h/static/styles/vendor/icomoon.css'
,
'./h/static/styles/vendor/katex.min.css'
,
'./h/static/styles/vendor/katex.min.css'
,
'./node_modules/angular-toastr/dist/angular-toastr.css'
,
'./node_modules/angular-toastr/dist/angular-toastr.css'
,
'./node_modules/bootstrap/dist/css/bootstrap.css'
,
];
];
gulp
.
task
(
'build-css'
,
function
()
{
gulp
.
task
(
'build-css'
,
function
()
{
...
...
scripts/gulp/vendor-bundles.js
View file @
18734f61
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
module
.
exports
=
{
module
.
exports
=
{
bundles
:
{
bundles
:
{
jquery
:
[
'jquery'
],
jquery
:
[
'jquery'
],
bootstrap
:
[
'bootstrap'
],
polyfills
:
[
require
.
resolve
(
'../../h/static/scripts/polyfills'
)],
polyfills
:
[
require
.
resolve
(
'../../h/static/scripts/polyfills'
)],
angular
:
[
angular
:
[
'angular'
,
'angular'
,
...
...
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