Skip to content

Releases: guansss/webpack-monkey

v0.2.1

06 Nov 05:39
Compare
Choose a tag to compare
  • fixed broken dev script

v0.2.0

07 Sep 10:24
Compare
Choose a tag to compare

Below are all the changes since v0.1.2:

v0.2.0

  • The option require no longer accpets a string or a function, now it only accepts an object.
  • Added option require.exportsFromUnnamed to suppress warning/error when using exports from an unnamed external module.
  • Changed TypeScript's compile target from es2017 to es2020, which has been supported on Node.js>=14

v0.2.0-beta.3

  • fixed UMD externals being incorrectly loaded in client script

v0.2.0-beta.2

None

v0.2.0-beta.1

  • merged monkey() option filter into ignore
  • prioritized meta.js over meta.ts when both exist
  • added Meta as an alias of UserscriptMeta
  • added colorette and terser-webpack-plugin as optional peer dependencies (already installed by webpack)
  • removed the use of ES modules in released code
    • now builds client code into CommonJS
    • removed conditional exports from package.json
  • removed unnecessary exports, only export the core parts: monkey(), MonkeyPlugin, MonkeyMinimizer
  • removed unused dependencies: lodash-es, tsc-alias, vite(I don't know why it was there)
  • removed the requirement of having a Prettier config to automatically enable output formatting
  • fixed @require not getting the correct version from external dependencies' package.json

v0.2.0-beta.3

31 Aug 04:27
Compare
Choose a tag to compare

v0.2.0-beta.1 was accidentally published with an empty package, what a mistake 😅

v0.2.0-beta.2 (not published) tried to fix that but couldn't.

v0.2.0-beta.3 should work. Edit: yeah it works but the readme is missing. Holy cats.

Additional changes:

  • fixed UMD externals being incorrectly loaded in client script

v0.2.0-beta.1

29 Aug 10:50
Compare
Choose a tag to compare
v0.2.0-beta.1 Pre-release
Pre-release
  • merged monkey() option filter into ignore
  • prioritized meta.js over meta.ts when both exist
  • added Meta as an alias of UserscriptMeta
  • added colorette and terser-webpack-plugin as optional peer dependencies (already installed by webpack)
  • removed the use of ES modules in released code
    • now builds client code into CommonJS
    • removed conditional exports from package.json
  • removed unnecessary exports, only export the core parts: monkey(), MonkeyPlugin, MonkeyMinimizer
  • removed unused dependencies: lodash-es, tsc-alias, vite(I don't know why it was there)
  • removed the requirement of having a Prettier config to automatically enable output formatting
  • fixed @require not getting the correct version from external dependencies' package.json

v0.1.2

14 Aug 15:13
Compare
Choose a tag to compare

First release! I made some mistakes when publishing to npm, so this is the first valid version.