Releases: hmsk/symlink-webpack-plugin
Releases · hmsk/symlink-webpack-plugin
Release list
v1.1.0
New features
Support voluntary compiler hook
Now we can give a hook option to make symlink by an intentional Webpack compiler hook:
{ origin: 'index.html', symlink: '200.html', hook: 'entryOption' }creates a symlink as 200.html in entryOption hook.
Check out all Webpack's compiler hooks: https://webpack.js.org/api/compiler-hooks/
The default hook is afterEmit as same as previous versions.
Digs directories by force option
force option lets this plugin creates directories when directories don't exist yet where a created symlink will be placed.
{ origin: 'index.html', symlink: 'not/exists/yet/200.html', force: true }, // => `not/exists/yet` dirs will be created if doesn't existv1.1.0-beta.2
- Create non-existent dirs by force option
v1.1.0-beta.1
- Support
hookoption to change when symlinking happens- Default is
afterEmitas same as before
- Default is
- Add a dependency for
fs-extra- After Webpack 4 will be deprecated, could use
mkdiryncfromfswithrecursiveoption 😉
- After Webpack 4 will be deprecated, could use
1.0.0: Support Webpack 4
Breaking Changes
- Drop support for Webpack 2, 3
- Use
v0.2.0when you need to use older Webpack
- Use