Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6a33742e27 | |||
3d201016fd |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsbundle",
|
"name": "@gitzone/tsbundle",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsbundle",
|
"name": "@gitzone/tsbundle",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a bundler using rollup for painless bundling of web projects",
|
"description": "a bundler using rollup for painless bundling of web projects",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -16,7 +16,7 @@ export class TsBundle {
|
|||||||
*/
|
*/
|
||||||
public async buildTest() {
|
public async buildTest() {
|
||||||
// create a bundle
|
// create a bundle
|
||||||
logger.log('info', `starting bundling for TEST now!`);
|
logger.log('info', `bundling for TEST!`);
|
||||||
const bundle = await plugins.rollup.rollup(this.optionsTest);
|
const bundle = await plugins.rollup.rollup(this.optionsTest);
|
||||||
bundle.generate(this.optionsTest.output);
|
bundle.generate(this.optionsTest.output);
|
||||||
bundle.write(this.optionsTest.output);
|
bundle.write(this.optionsTest.output);
|
||||||
@ -28,7 +28,7 @@ export class TsBundle {
|
|||||||
*/
|
*/
|
||||||
public async buildProduction() {
|
public async buildProduction() {
|
||||||
// create a bundle
|
// create a bundle
|
||||||
logger.log('info', `starting for PRODUCTION now!`);
|
logger.log('info', `bundling for PRODUCTION!`);
|
||||||
const bundle = await plugins.rollup.rollup(this.optionsProduction);
|
const bundle = await plugins.rollup.rollup(this.optionsProduction);
|
||||||
bundle.generate(this.optionsProduction.output);
|
bundle.generate(this.optionsProduction.output);
|
||||||
bundle.write(this.optionsProduction.output);
|
bundle.write(this.optionsProduction.output);
|
||||||
|
Reference in New Issue
Block a user