1.0.1 • Published 5 years ago

check-realpath-webpack-plugin v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

check-realpath-webpack-plugin

This is a webpack plugin that check native real path in Windows and MacOS.

Installation

npm i check-realpath-webpack-plugin -D

Usage

webpack.config.js

const CheckRealPathPlugin = require('check-realpath-webpack-plugin')
// ...

module.exports = {
  // ...
  plugins: [
    new CheckRealPathPlugin(),
    // ...
  ],
}

Notice

  1. Used with html-webpack-plugin

    // ...
    module.exports = {
      // ...
      module: {
        rules: [
          // ...
          {
            test: /\.html$/i,
            loader: require.resolve('html-webpack-plugin/lib/loader'),
            options: {
              force: true,
            }
          }
        ]
      }
    }

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago