slice-machine icon indicating copy to clipboard operation
slice-machine copied to clipboard

Disable index file generation in manifest

Open itsjoekent opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Slice Machine autogenerates and outputs an index file that doesn't conform to our application requirements.

Describe the solution you'd like

It would be great if we could write outputIndex: false in our sm.json manifest file and disable the auto-generation of the index.ts file.

itsjoekent avatar Mar 04 '22 18:03 itsjoekent

Hi Joe,

Can you tell us more about the standards you expect in your index file?

phillysnow avatar Apr 06 '22 16:04 phillysnow

@phillysnow I'd love to be able to code split, or support different import types (default vs named).

itsjoekent avatar Apr 06 '22 21:04 itsjoekent