@@ -16,9 +16,9 @@ import type { BundlingOptions, ICommandHooks } from './types';
1616
1717export const HASHABLE_DEPENDENCIES_EXCLUDE = [
1818 '*.pyc' ,
19- " cdk/**" ,
20- " .git/**" ,
21- " .venv/**" ,
19+ ' cdk/**' ,
20+ ' .git/**' ,
21+ ' .venv/**' ,
2222] ;
2323
2424export const DEFAULT_ASSET_EXCLUDES = [
@@ -71,7 +71,7 @@ export interface BundlingProps extends BundlingOptions {
7171 /**
7272 * Glob patterns to exclude from asset hash fingerprinting used for source change
7373 * detection
74- *
74+ *
7575 * @default HASHABLE_DEPENDENCIES_EXCLUDE
7676 */
7777 readonly hashableAssetExclude ?: string [ ] ;
@@ -82,7 +82,10 @@ export interface BundlingProps extends BundlingOptions {
8282 */
8383export class Bundling {
8484 public static bundle ( options : BundlingProps ) : AssetCode {
85- const { hashableAssetExclude = HASHABLE_DEPENDENCIES_EXCLUDE , ...bundlingOptions } = options ;
85+ const {
86+ hashableAssetExclude = HASHABLE_DEPENDENCIES_EXCLUDE ,
87+ ...bundlingOptions
88+ } = options ;
8689 return Code . fromAsset ( options . rootDir , {
8790 assetHashType : AssetHashType . SOURCE ,
8891 exclude : hashableAssetExclude ,
@@ -114,13 +117,13 @@ export class Bundling {
114117 const bundlingCommands = props . skip
115118 ? [ ]
116119 : this . createBundlingCommands ( {
117- rootDir,
118- workspacePackage,
119- assetExcludes,
120- commandHooks,
121- inputDir : AssetStaging . BUNDLING_INPUT_DIR ,
122- outputDir : AssetStaging . BUNDLING_OUTPUT_DIR ,
123- } ) ;
120+ rootDir,
121+ workspacePackage,
122+ assetExcludes,
123+ commandHooks,
124+ inputDir : AssetStaging . BUNDLING_INPUT_DIR ,
125+ outputDir : AssetStaging . BUNDLING_OUTPUT_DIR ,
126+ } ) ;
124127
125128 this . image = image ?? this . createDockerImage ( props ) ;
126129
0 commit comments