2 Commits

Author SHA1 Message Date
Matthew Dean
6cafcc0466 fix: webpack browser build - use UMD dist/less.js, add CJS bundle (#4424)
* fix: webpack browser build - use UMD dist/less.js, add CJS bundle (#4423)

- Browser exports point to dist/less.js (UMD) instead of less-node
- Add CJS bundle (dist/less-node.cjs) for Node require() with module shim
- Remove dead index.js; index.cjs re-exports CJS bundle
- Add export tests: import-patterns, webpack-browser, test-cjs-suite
- CI and publish workflows run test:node (build + CJS + ESM tests)

* Beta publish script

* chore: clarify test:node runs ESM + CJS in workflow labels

* fix: normalize path separators in rollup plugin for Windows CI

The inlinePackageVersion plugin used forward-slash path check that
failed on Windows where rollup passes backslash-separated IDs,
leaving the require('../../package.json') unresolved at runtime.

* chore: bump version to 4.6.3 for release
2026-03-11 11:11:04 -07:00
Matthew Dean
2c5e4dd9b9 Lerna refactor / TS compiling w/o bundling (#3521)
* Lerna refactor / TS compiling w/o bundling
* Adds package-lock.json
2020-06-22 05:41:38 -07:00