fix(core): update
This commit is contained in:
		@@ -1 +1 @@
 | 
			
		||||
export * from './parcel.classes.parcel';
 | 
			
		||||
export * from './parcel.classes.parcel';
 | 
			
		||||
 
 | 
			
		||||
@@ -42,16 +42,15 @@ export class Parcel {
 | 
			
		||||
  public async build() {
 | 
			
		||||
    const bundler = new plugins.parcel(this.entryFiles, {
 | 
			
		||||
      ...this.options,
 | 
			
		||||
      watch: false
 | 
			
		||||
      watch: false,
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    // Run the bundler, this returns the main bundle
 | 
			
		||||
    // Use the events if you're using watch mode as this promise will only trigger once and not for every rebuild
 | 
			
		||||
    const bundle = await bundler.bundle().catch(e => {
 | 
			
		||||
    const bundle = await bundler.bundle().catch((e) => {
 | 
			
		||||
      console.error(e);
 | 
			
		||||
      throw e;
 | 
			
		||||
    });
 | 
			
		||||
    
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  constructor(fromArg: string | string[], outputDirArg: string, outputFileArg: string) {
 | 
			
		||||
 
 | 
			
		||||
@@ -6,9 +6,7 @@ export { path };
 | 
			
		||||
// @pushrocks scope
 | 
			
		||||
import * as smartpath from '@pushrocks/smartpath';
 | 
			
		||||
 | 
			
		||||
export {
 | 
			
		||||
  smartpath
 | 
			
		||||
};
 | 
			
		||||
export { smartpath };
 | 
			
		||||
 | 
			
		||||
// third party scope
 | 
			
		||||
import parcel from 'parcel-bundler';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user