table-render-test
Version:
中后台表格解决方案
11 lines (10 loc) • 774 B
Plain Text
$ father-build
Clean dist directory
Build cjs with rollup
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Entry module "src\index.tsx" is implicitly using "default" export mode, which means for CommonJS output that its default export is assigned to "module.exports". For many tools, such CommonJS output will not be interchangeable with the original ES module. If this is intended, explicitly set "output.exports" to either "auto" or "default", otherwise you might want to consider changing the signature of "src\index.tsx" to use named exports only.
Build cjs success entry: src/index.tsx
Build esm with rollup
Build esm success entry: src/index.tsx