Skip to content

Releases: hmsk/symlink-webpack-plugin

v1.1.0

Choose a tag to compare

@hmsk hmsk released this 15 Feb 08:46
7488c24

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 exist

v1.0.0...v1.1.0

v1.1.0-beta.2

v1.1.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@hmsk hmsk released this 14 Feb 00:46
e22a6e9
  • Create non-existent dirs by force option

v1.1.0-beta.1...v1.1.0-beta.2

v1.1.0-beta.1

v1.1.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@hmsk hmsk released this 31 Jan 07:36
0982ebd
  • Support hook option to change when symlinking happens
    • Default is afterEmit as same as before
  • Add a dependency for fs-extra
    • After Webpack 4 will be deprecated, could use mkdirync from fs with recursive option 😉

v1.0.0...v1.1.0-beta.1

1.0.0: Support Webpack 4

Choose a tag to compare

@hmsk hmsk released this 21 Mar 22:07
9e73e44

Breaking Changes

  • Drop support for Webpack 2, 3
    • Use v0.2.0 when you need to use older Webpack

v0.2.0...v1.0.0

Thanks for your contribution, @gesa#6

v0.2.0

Choose a tag to compare

@hmsk hmsk released this 15 Jan 09:47
3a0de70

This version will be the final version to support Webpack v2, v3.

Development

  • Remove dependencies on Babel
  • Update devDependencies