unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

Place files in separate folders

Open IanVS opened this issue 3 years ago • 0 comments

I'm proposing to add unbuild to a storybook package, but their convention is to place the outputs into different folders, like:

dist/cjs/index.js
dist/esm/index.js

And actually, what I want is:

dist/cjs/index.cjs
dist/esm/index.mjs

Is that possible? I can't tell from looking at the names of the options.

IanVS avatar Feb 24 '22 16:02 IanVS