Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d99c8732
Commit
d99c8732
authored
Sep 18, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packaging: reduce package size
parent
210df234
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
tasks/options/clean.js
+3
-2
tasks/systemjs_task.js
+0
-8
No files found.
tasks/options/clean.js
View file @
d99c8732
...
...
@@ -8,9 +8,10 @@ module.exports = function(config) {
css
:
[
'<%= genDir %>/css'
],
packaging
:
[
'<%= tempDir %>/public/vendor/npm/rxjs'
,
'<%= tempDir %>/public/vendor/npm/te
a
ther'
,
'<%= tempDir %>/public/vendor/npm/te
a
ther-drop'
,
'<%= tempDir %>/public/vendor/npm/tether'
,
'<%= tempDir %>/public/vendor/npm/tether-drop'
,
'<%= tempDir %>/public/**/*.map'
,
'<%= tempDir %>/public/**/*.ts'
,
],
};
};
tasks/systemjs_task.js
View file @
d99c8732
...
...
@@ -25,14 +25,6 @@ module.exports = function(grunt) {
builder
.
bundle
(
expression
,
'public_gen/app/app_bundle.js'
)
.
then
(
function
(
res
)
{
console
.
log
(
'Build complete'
,
res
.
modules
);
for
(
var
i
=
0
;
i
<
res
.
modules
.
length
;
i
++
)
{
var
modulePath
=
path
.
join
(
'public_gen'
,
res
.
modules
[
i
]);
console
.
log
(
modulePath
);
grunt
.
file
.
delete
(
modulePath
);
}
done
();
grunt
.
task
.
run
(
'concat:bundle_and_boot'
);
})
...
...
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