fix(core): update
This commit is contained in:
parent
f5340e7109
commit
0cca5cafdf
@ -5,7 +5,7 @@ export class TsBundle {
|
|||||||
/**
|
/**
|
||||||
* the basic default options for rollup
|
* the basic default options for rollup
|
||||||
*/
|
*/
|
||||||
public getBaseOptions(fromArg: string = `ts_web/index.ts`, toArg: string = 'dist_web/bundle.js') {
|
public getBaseOptions(fromArg: string = `ts_web/index.ts`, toArg: string = 'dist_ts_web/bundle.js') {
|
||||||
logger.log('info', `from: ${fromArg}`);
|
logger.log('info', `from: ${fromArg}`);
|
||||||
logger.log('info', `to: ${toArg}`);
|
logger.log('info', `to: ${toArg}`);
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@ import * as plugins from './tsbundle.plugins';
|
|||||||
export const cwd = process.cwd();
|
export const cwd = process.cwd();
|
||||||
export const packageDir = plugins.path.join(__dirname, '../');
|
export const packageDir = plugins.path.join(__dirname, '../');
|
||||||
export const htmlDir = plugins.path.join(cwd, './html');
|
export const htmlDir = plugins.path.join(cwd, './html');
|
||||||
export const distWebDir = plugins.path.join(cwd, './dist_web');
|
export const distWebDir = plugins.path.join(cwd, './dist_ts_web');
|
||||||
export const assetsDir = plugins.path.join(packageDir, 'assets');
|
export const assetsDir = plugins.path.join(packageDir, 'assets');
|
||||||
|
Loading…
Reference in New Issue
Block a user