v0.2.0
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
toes2020
, 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()
optionfilter
intoignore
- prioritized
meta.js
overmeta.ts
when both exist - added
Meta
as an alias ofUserscriptMeta
- added
colorette
andterser-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