Commit d99c8732 by Torkel Ödegaard

packaging: reduce package size

parent 210df234
......@@ -8,9 +8,10 @@ module.exports = function(config) {
css: ['<%= genDir %>/css'],
packaging: [
'<%= tempDir %>/public/vendor/npm/rxjs',
'<%= tempDir %>/public/vendor/npm/teather',
'<%= tempDir %>/public/vendor/npm/teather-drop',
'<%= tempDir %>/public/vendor/npm/tether',
'<%= tempDir %>/public/vendor/npm/tether-drop',
'<%= tempDir %>/public/**/*.map',
'<%= tempDir %>/public/**/*.ts',
],
};
};
......@@ -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');
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment