magento / baler

AMD module bundler and preloader for Magento 2 stores.
Open Software License 3.0
175 stars 27 forks source link

Ignore module #71

Open ahentea opened 4 years ago

ahentea commented 4 years ago

Is it possible to completely ignore an module when bundling ?

Quazz commented 4 years ago

@ahentea You could add each javascript file to src/excludedFiles.ts

Then rebuild the baler binary per the instructions.

eg 'text!js-translation.json', 'jquery-ui-modules/datepicker',

(new lines work, last line must also end with ,)

I had to do this for a couple of files that baler bundled incorrectly.