Skip to content

Releases: Arnesfield/rollup-plugin-no-emit

v1.2.1

27 Jul 09:17
Compare
Choose a tag to compare

Full Changelog: v1.2.0...v1.2.1

  • Update dependencies

v1.2.0

27 Apr 06:01
Compare
Choose a tag to compare

Full Changelog: v1.1.1...v1.2.0

Notable Changes

  • Removed source maps from build.
  • Deprecated RollupNoEmitOptions interface.
    • Will be removed in the next major release. Use the new Options interface instead.
    • Reference: src/index.ts
  • [internal] Upgraded to NodeNext, updated dependencies, and some minor refactor and updates.

v1.1.1

06 Oct 06:15
Compare
Choose a tag to compare

Full Changelog: v1.1.0...v1.1.1

  • Actually add rollup 4.x compatibility

v1.1.0

06 Oct 03:43
Compare
Choose a tag to compare

Full Changelog: v1.0.1...v1.1.0

  • Update dependencies and add rollup 4.x compatibility
  • Remove deprecated eslint rule

v1.0.1

29 Jun 06:58
Compare
Choose a tag to compare

Full Changelog: v1.0.0...v1.0.1

  • Update dependencies
  • Run npm audit fix

v1.0.0

07 Jun 15:14
Compare
Choose a tag to compare

Full Changelog: v0.0.1...v1.0.0

  • Update dependencies
  • Update README
  • Update tests
  • Update package.json (include exports.types, update Rollup peer dependency)

API is still similar to v0.0.1 but with an update to the match option: it will now include the Rollup output chunk/asset as the second parameter:

noEmit({
  match(fileName: string, output: OutputAsset | OutputChunk) {
    return false;
  }
});

Package now exports the noEmit function plugin along with default:

// ES6 (default)
import noEmit from 'rollup-plugin-no-emit';

// ES6, also works
import { noEmit } from 'rollup-plugin-no-emit';

// CommonJS (preferred)
const { noEmit } = require('rollup-plugin-no-emit');

// CommonJS, also works
const noEmit = require('rollup-plugin-no-emit').default;

v0.0.1

19 Jun 11:24
Compare
Choose a tag to compare

Initial release